Sunday, 24 August 2014

How to create new MS SQL virtual machine in Azure

How to create MS SQL virtual machine in Azure and how to enable MS SQL Login user.

1. Create new virtual machine with MS SQL server
2. Open a MS SQL port 1433 in azure management for the given virtual machine
3. Log in to the virtual machine
4. Open port in firewall in virtual machine Windows system - 1433
5. IMPORTANT - Set MS SQL setting to the Mixed Mode (Windows Authentication and SQL Server Authentication) (default is only Windows Auth.)

Thursday, 22 May 2014

ASP.NET MVC + T4MVC: How to generate url

If you need to generate a URL link in ASP.NET MVC within your view or controller logic with help of T4MVC, just use the following syntax:
Url.Action(MVC.Offer.Edit(offer.Id))


Thursday, 14 February 2013

Top 10% most viewed LinkedIn profiles for 2012

Who would think, that my profile was among 10% most viewed LinkedIn profiles in 2012. I guess this is nothing special. When you are in 1% that is something interesting. But anyway it is something to notice!


URL: http://www.linkedin.com/in/peterstegnar

Sunday, 6 May 2012

New blog engine for the Peter Stegnar programming blog

I have decided to move on with from the custom local blog hosting to the more "modern" variant - cloud.

There are numerous advantages to this. One of the main is availability. Since I have hosted blog in my own infrastructure this was not very reliable service (power and network outages). So now must be much better. If you wonder what was the reliability rate I can tell you, thanks to the great tool Pingdom. It was around 90%-98%. Another main reason is outdated blog. It is '09 release of the DasBlog blog engine. Archaic design, I mess with the blog posting code and so I could only write in pure HTML ... And so consequently I did not write much, actually near to none. I hope I will change this a bit.

You can still reach the old blog: http://blog.archive.stegnar.com/.