Endless road :)

Few weeks back I went to North Dakota at one customer site, that town was literally in middle of nowhere. And roads were just flat straight line. Being long time resident of CT, I find it difficult to drive when I have to drive in one straight line for 70-80 miles Open-mouthed smile



Traveling to customers …

Past few weeks have been super busy for me, and I have not got enough time to do any “experiment” or prepare better post. So think of this as a “filler” post Open-mouthed smile

Due to change in my role in our company, I had to do traveling on different customer locations for installation projects and it is usually a week long stay. But I kind of like travelling because it gives me a chance to meet new people and gives me chance to interact with them.

But it could be difficult sometimes because you never know what customer is going to ask you and you have to be ready to answer that thing. Now I know that you don’t necessarily have to have an answer for all questions but then again you don’t want them to feel that you don’t know your product enough (or just say … look dumb ? Confused smile) !! …

Overall I would think traveling to customers as a good learning experience and in time it improves your people and professional skills Thumbs up.

Expression Blend Tools

Prototyping using Expression Blend, Sketchflow – Part I

Prototyping in terms of software development can be seen as a process of modeling concept of a software with some interaction. In some cases it could be totally different than final product but in general it is really helpful process because it gives developers / product owners better idea about what to expect from product and what can be improved. There is another term commonly used among web developers called Wireframing. It is same as software prototyping but it is specifically used for web sites.

As both of these things are very visual they give better idea about product and they are usually worked/reworked to improve final product. There are many many tools available for out of which Axure, Balsamiq and Expression Blend (which is part of Expression Studio Visual Studio 2012) are my favorite.

While back I was involved in a project where I was required to prepare initial concept of application design … it was very early stage of application designing and application itself was more of an idea than actual product. So I was required to create something very basic which gives an idea to developers and product owner how application could look like and how it will be interacted etc … as I had played with Expression Blend before so I ended up using it for my sample prototyping project.

So in this post I probably give basic introduction to the tool of trade and in another post I will actually show to we can use Expression Blend addin Sketchflow to prepare prototype applications in Silverlight or WPF. I am using expression blend show the tool but it has met end of lifecycle and MSFT has integrated it into Visual Studio 2012 but usability vise you probably will not see any difference at all. I personally still prefer to use Expression Blend over Visual Studio because it loads faster and is less resource hungry Open-mouthed smile. If you look at screenshots below you will notice that both Blend for VS 2012 and Expression Blend 4 looks almost same.

Mockup11 Mockup10
Uncategorized Windows

Export–Import Windows Firewall Setting using PowerShell

Something I really hate is to do same thing again and again manually … and so I always try to automate that task using scripting … weather it is simple Batch Script … VB Script … Bash .. or my new favorite PowerShell Open-mouthed smile. What I really like about PowerShell is, it exposes whole .NET stack to you and you can do just about anything you can do in any .NET application … but with lot simplicity (should I add … without need to build whole project !)

From past few months I am beginning to get involved in more system preparation tasks for our production and one of the requirement is to configure Windows Firewall to have some rules for our application. And we have to repeat this process on any machine that goes into production. At one point I realized that if you keep doing something repetitively chances are you will make mistake at some point and you will not notice it until you run into some issue and you back trace your steps !!

Then I found that all of these machines have same configuration in them both hardware wise and software wise … and they will also have same firewall exceptions. So it would be nice if I can seamlessly import – export firewall rules from one machine to another machine. Actually this can be done via UI from Windows Firewall with Advance Security (which can be reached by opening up Windows Firewall in control panel and then clicking on “Advanced Settings”). And there you should see two options, Import Policy and Export Policy. And those options does what they say … import / export firewall policy.

How To SQL Server

Send emails using Database Mail … from SQL Server

Back in Pre SQL Server 2005 editions of SQL Server there was nice feature called SQL Mail which basically allowed users to send email from within database server. But that system has many dependencies and major one was requirement of Microsoft Exchange… thus usage was severely limited to enterprise customers who has resources to setup such a system. When MSFT released SQL Server 2005 they introduced new feature called Database Mail which replaced SQL Mail … and they removed all kind of external dependencies. Now all you had to do was to provide just SMTP server and you are all set !!

I always thought that I have blogged about process to setup Database mail but it appears that I never did so today I am going to write about step-by-step process to setup / configure database mail. Since we have moved on from 2005 to 2008 to 2008R2 to 2012 …. I am going to use SQL Server 2012 edition but process remains same for previous editions too.

Database Mail can be found under “Management” group in SQL Server Management Studio. To configure Database Mail right click on it and select “Configure Database Mail” which will start configuration wizard. It will show bunch of options like “Set up Database Mail”, “Manage”, “Change system parameters”. Since we have not setup this before we are going to select first option, “Setup Database Mail by performing following tasks”. And with that selected click next.


Code Camp 6 this weekend

Ok, just like every year this year too we have code camp organized by CT .NET user group. If you don’t know what these events are then in one line … think of it as a one day training on different subjects (mostly related to .NET) by subject experts all around CT and near by states Smile… I have been going to this camp for past 4 years … and they usually have really great range of subjects.

On a side note, I think I am going to skip this year… because I really don’t find that “interesting” presentation topics … even some are already presented in other events is SQL Saturday or user group meetings …

You can get more details about this event from event website, Code Camp 6

And this time it is going to be held at Saturday, May 18th.

Location is:

New Horizons Learning Center,

340 West Newberry Rd,

Bloomfield, CT 06002 USA

Update: (5/17/13) It looks like that event is sold out !!

How To Windows

Setting up Domain Controller in Virtual System … Part II

So after setting up Domain Controller (DC) next step is to configure workstations and add them into newly created Domain. It is actually not that difficult part but during my early trials I spent quite a bit time to make these workstations connect to DC. Because even though they were part of same network they were not able to “see” DC because they had different DNS and it took me while to figure that out.

Anyways, first step is to setup fixed IP of workstation. And make sure that in it’s DNS, use IP of DC.