DCSIMG
Shuki Licht
Developer Efficiency - XCode, Eclipse, Visual Studio
28 February 12 03:12 PM | Josh | with no comments

In the last year i am working more and more with developing of code for Android (on Eclipse) and for IOS (on Xcode)

although i really exciting to work with Eclipse and Xcode, i still think that the time that you waste to implement UI applications on these platforms are much more higher if i compare it to Visual studio.

Please check this nice video that present the waste of work at Eclipse and Xcode (for UI only :-))

http://www.youtube.com/watch?v=OF5mGoKcm80

 

Shuki

Visual Studio Isolated Shell - AVR Studio 5 example
06 November 11 11:22 AM | Josh | with no comments

In the last year i worked with the some solutions build above the VS isolate shell, although the develop process is not simple (curve learning time is very long) , in the end you can get really good and professional results.

Good professional example coming from AVR controller design.

you can read about that in this link: Getting Started with AVR Studio 5

Shuki

Moving from IPhone develop to windows phone 7 develop - 90 page guidelines
01 May 11 08:18 AM | Josh | with no comments
Great document of how to move from Iphone develop to windows phone 7 develop.
I found it really useful.
Shuki
Build a Data-Driven Enterprise Web Site in 5 Minutes - it works!
23 January 11 03:11 PM | Josh | 1 comment(s)

Folks,

Several days ago one of our developers comes with need to do administrator web pages to one of his core system. Because the timeline were very tight and on the other hand we want to keep our solutions with best architecture guidelines. We decided to try the dynamic data solution.

the results and the fast  implementation were very impressive especially that we got in several hours very clear solution include: tables in place, web site with admin pages for add/update/delete and view/filter and WCF data service that we can consume from other applications (in our situation from PowerPivot by excel)

So if i want to summarize what need to do for each step and what the solution that we took for each step:

1.    I need to define my data objects first  - Build Entity Framework data model from scratch

2.    I need an admin pages where I can enter and update data – add dynamic web site for add/delete/update/view data and register your context with the data object.

3.    I need a service layer that can expose my data (present on any system) – add wcf data service

4.    I need my front end to consume the data from services – use oData client to consume the data service layer(like PowerPivot from excel)

very good articale to start with dynamic web site - http://msdn.microsoft.com/en-us/magazine/gg535665.aspx

Shuki Licht

Dynamic Data, oData, and WCF Data Services a Killer Combination
15 December 10 10:22 AM | Josh | with no comments

Try this blog link, really (simple...) example combination between Dynamic Data, oData and WCF Data services

http://www.futureofcoding.com/post/2010/07/02/Dynamic-Data-oData-and-WCF-Data-Services-a-Killer-Combination.aspx

Shuki

Moving from Scrum to Kanban
07 July 10 10:59 AM | Josh | with no comments
I like scrum, but it have too many problems that you always have to find a workaround.

Kanban give some solutions for these problems.

Try this session, really good introduce for Kanban and what Scrum problems it solve.


Shuki
How to avoid WCF deadlock
15 February 10 11:38 PM | Josh | with no comments

Deadlock is one of the major issue that can appear in WCF especially if you work with ConcurrencyMode = Single.

very good link that explain the problem and how to solve it:

http://www.aaronmurrell.com/ThinkBlog/WCFThreadSynchronizationContext.aspx

Shuki

 

תגים:
Patterns for Parallel Programming with the .NET Framework 4.0
10 November 09 08:11 AM | Josh | with no comments

Patterns for Parallel Programming with the .NET Framework 4.0:

http://www.microsoft.com/downloads/details.aspx?FamilyID=86b3d32b-ad26-4bb8-a3ae-c1637026c3ee&displaylang=en

 Enjoy,

Shuki

Excelent slides for Parallel programming in .Net 4 and Visual Studio 2010
08 November 09 09:38 AM | Josh | with no comments

Excelent slides for Parallel programming in .Net 4 and Visual Studio 2010

http://blogs.msdn.com/pfxteam/attachment/9916008.ashx

Enjoy,

Shuki

 

תגים:
How to see the XAML Preview(designer) for the new SilverLight 3 tools in VisualStudio 2008
13 July 09 08:14 AM | Josh | 2 comment(s)
If someone looking for the xmal preview (designer) in the new silverlight (3) on VS 2008: 1. Open xaml file in VS.2. Go to the bottom of the file editor (below the H.scrollbar) and drag up the H. splitter.3. Click on "Resume loading the designer"4. Now you can see the xmal preview designer

Shuki

תגים:
Hosting Silverlight + WCF on IIS6
02 May 09 04:57 PM | Josh | with no comments

Hosting silverlight on IIS6 - http://weblogs.asp.net/visualwebgui/archive/2008/12/28/developing-and-deploying-a-visual-webgui-silverlight-application.aspx (on the bottom)

Hosting WCF on IIS6 - http://msdn.microsoft.com/en-us/library/aa751792.aspx

How to add reference to classic .net 2.0 web services in Visual Studio 2008?
16 December 08 08:48 AM | Josh | with no comments

1. Right click on References --> Add Service Reference

clip_image002

 

2. Click on Advanced...

image

3. Click on Add web Reference...

image

4. Here you go...

image

New Excellent Charts Controls for .NET 3.5
15 December 08 06:31 PM | Josh | with no comments

On November Microsoft has released package for chart controls for WinForm and for ASP.Net.

The controls are free for use and run(only...) on .net 3.5

I played lots with the controls in the last month and I can say that they are really good:

All the chart parameters can be changed on the html controls side or/and on the code behind. the chart objects names and aggregate order of them are very simple to understanding and to manage. There are lots of charts properties with simple and clear names and most of them exposed for changing  (like legends, titles, size of each chart...) .

The charts support most of the interactive needs for ASP.net like mouse on specific bar/point with full events for client or sever. The charts supports advanced features like strip lines, smart annotations and labels, multi charts from different types support empty data and some statistics presenters.

One last thing that I was surprised is the fast chart rendering and the options to keep(include cache)  of the images.

Bottom line:in the last years I worked with several packages of chart controls and  I really recommend to use these packages, they are worked perfect on 3.5 environment, simple to learn and use and no doubt that they can give good alternative for many other (that you need to pay for them...) solutions.

 

Enjoy, Shuki

Microsoft Chart Controls for Microsoft .NET Framework 3.5 download: (from here you start:)http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en

Microsoft Chart Controls for .NET Framework Documentation download:(mean while only objects descriptions and relations) http://www.microsoft.com/downloads/details.aspx?FamilyId=EE8F6F35-B087-4324-9DBA-6DD5E844FD9F&displaylang=en

Microsoft Chart Controls Add-on for Microsoft Visual Studio 2008 download: (just drag and drop chart controls from tools into winform or ASP.NET )http://www.microsoft.com/downloads/details.aspx?FamilyId=1D69CE13-E1E5-4315-825C-F14D33A303E9&displaylang=en

Samples Environment for Microsoft Chart Controls download (Excellent examples with most of the charts and options for winform and asp.net) : http://code.msdn.microsoft.com/mschart

Windows Forms/ASP.NET Chart Control forum : http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/threads/

2 Bre or not 2 Bre ... or 2 WF Rule
24 November 08 06:05 PM | Josh | with no comments

There are lots of articles in the web that compare between BRE and WF Rule ,but most of them compare the performance , Rule model and how the core system work:

(http://geekswithblogs.net/cyoung/articles/56488.aspx)

http://geekswithblogs.net/cyoung/archive/2007/08/12/114597.aspx

The problem is that there is no good compare about the development effort, implementation ,extensibility and maintains of each one.

I would like to share some of our experiences with the 2 rules system and what the consideration before we decide which system to implement.

The BRE have lots of benefits like DB and XML vocabularies ,drag and drop facts to rules(very "impressive" composer UI) ,call the rules/policies directly from BizTalk (with special  BizTalk task) and of course to call the BRE engine directly from code.

The BRE engine work very fast and very efficient(RETE Algo.) and can handle (of course with the help of the BTS) lot of process on the same time w/o the need to develop any special framework from scratch.

One of the strength of the the BRE is the option to create and run rules from several and different facts ,so the model and the layouts of the facts are organize well.

The BRE already have stable and defined tables in BTS DB's include tables relations , specifics sp's and jobs ,so you don't need to develop any piece of DB code. and it is just plug and play.

if you have several rules that most of the time you don't need to change them or that most of them can modify and control by the BizTalk administrator  or any BizTalk users and not by  any business users, the BRE is really good for that. you have full control on your process and good tracking of the results.

On the other hand to install or to work with BRE composer you need to have license for each BRE composer(you need to install the BTS for each BRE composer on each machine), so the idea to have BRE composer on each client it is something problematic, and most of the time the BRE composer need to be open on the BTS productions server or on any terminal server that link to this BTS production.

BRE deploy can be something not so simple and each time that you create new policy or need to update current policy , you need to un-deploy , deploy and save version again. this can be worse if you run the the policies directly from policy action in the orchestration because in such case you need also to turn on the new policy version in the BTS. something that not work perfect and sometimes you need to do it twice until the updated rules run in BTS.

Another problem is that with the current BRE composer if you have lots of polices it become not easy to work with the policies tree because you don't have any option to arrange the policies in any nested arrangement and the only option is to see them only in flat mode. of course if you more than 1,000 of policies (not too much if you calculate versions) it very difficult to maintains and aggregate such list.

Of course there is the option to create your own composer and just get/set the data with BRE Db and with the BRE API.  of course it is manner of developing time.

The WF rule can be a very good alternative especially if you host it inside the BTS or run it inside webservice or any WCF service and just call it from BTS orchestration. with such combination you get very strong host and very common rule engine.

One other benefit that the WF rule editor have is the option to launch the rule set dialog directly from any .net. This capability give really good solution if you need that your business users will add/update rules directly from your application w/o the need to install any other application on their computer or open any other server. it is simple to de/serialize the rules set to text and keep it with mapping to your need. such freedom give a big benefit to work with the WF rules w/o the need to mess with deploy/versions operation in BTS

of course the limitation that there are no standard repository for the rules ,yo need to implement some db tables and some code that handle all these set/get rules data and running the engine on such rules sets (good example for that :http://richardsbraindump.blogspot.com/2007/08/how-to-use-windows-workflow-rules.html)

If you run the wf rule engine outside the WF (call it directly)  the tracking can be a problem and there some examples in the web how to track the rules with the tracer. the solution with the tracer is very limit and you don't get all the calculations data for each rule. Other option is to use the visitor pattern on each rule fact(function or property) so each time that the rule engine run on the rule condition (or action) and invoke the functions ,the function itself track the calculation and insert it into static member tracking.(each function have his own visitor and create unique message and information for the tracking) , in the end ,when the action (or else action) is running ,their visitor just collect the member tracking.

for summarization,if you need rule engine that you can extend it very simple and you need that the business users will add/write rules in your application w/o any external components  and the versions/deploy management will be as you like ,WF rule will be the best option, especially if you host it in stable and efficiency host (like BTS).   if you just need to write rules in your orchestrations  or you need to get  facts data from db directly or you don't want to develop from scratch all the rules db/functions BRE will be better especially if you extend the current bre composer.

Shuki

Calling WCF,Webservice and REST from Silverlight 2 client
13 November 08 05:49 AM | Josh | with no comments

Last month i started to work with Silverlight 2.0 and it really cool.

I have lots of experience with Flash ActionScripts 1,2 and java applets... and no one gives the rich capabilities ,simplify and true development environment as with silverlight 2 with visual studio (and with c#....)

The best capability and the most important that need from web client (for my opinion) is the options to call directly to any external services and especially to many services type (wcf, rest, webservices)

A very good start with this capability you can find in this great article : Silverlight webservice

Enjoy,

Shuki

More Posts Next page »