Wednesday, February 1, 2012

How to export and import a website in IIS 7.5

Export a website example (thru command prompt)

C:\Windows\SysWOW64\inetsrv\appcmd list site /name:"Default Web Site" /config /xml > C:\Export.xml


Import a website example (thru command prompt)



C:\Windows\SysWOW64\inetsrv\appcmd add sites /in< C:\Export.xml




Delete a website example (thru command prompt)
C:\Windows\SysWOW64\inetsrv\appcmd delete site "Default Web Site"




The above commands are for 64 bit machines, for 32 bit machines, SysWow64 would be replaced by System32

Sunday, November 6, 2011

Articles on design patterns

If you are absolutely new to design patterns, I would recommend you check out these articles

For Beginners
1>http://dotnetanalysis.blogspot.com/2011/10/principles-of-design-patterns.html
2>http://www.moock.org/lectures/introToPatterns/
3>http://technology.ezinemark.com


If you already have some experience in design patterns and are looking to develop more on that, the articles below are for you.

For Advanced Developers
1>http://martinfowler.com/articles/injection.html
2>http://sourcemaking.com/
3>http://www.oodesign.com/

Dot net tutorials for beginners

If you have no experience in software and you plan to start learning .net. I would strongly recommend this reading list (and in that order)

1>Learn HTML
http://www.w3schools.com/html/default.asp

2>Learn Javascript
http://www.w3schools.com/js/default.asp

3>Learn the basics on writing SQL queries
http://www.w3schools.com/sql/default.asp

4>Read what .net is all about
http://dotnetanalysis.blogspot.com/2011/01/dot-net-basics.html

5>Learn C#
http://msdn.microsoft.com/en-us/library/67ef8sbd.aspx

Once you finish these, you are in a position to start learning any Microsoft technology (asp.net, wcf, wpf etc) that you choose to pursue.

Asp.net is what you would learn if you want to build websites

WPF is what you would learn to build computer applications (software that you can install on your machine)

WCF is something you would learn when you reach at an intermediate level. A simple way to think about WCF would be a web based application, where you can pass in two numbers and get their sum in return. Check this out to get an introduction to WCF
http://dotnetanalysis.blogspot.com/2011/08/introduction-to-wcf-windows.html