My .Net Blog

Posts in this section.

Programming

Running SQL Backup in .Net

If you are using SQL Express, you have sql agent to do the backup for you. The only way is using T-SQL in a application code to do that. I have a C# library to…

Read more
Example Codes

Creating my first MVC5 Project

In the old time, we choose the MVC project templates to create a new project. In the Visual Studio 2013, The workflow to create a new MVC5 project is different…

Read more
Programming

Visual Studio 2013 and MVC5

I just installed Visual Studio 2013. Moreover, I started to build a MVC 5 project. That is great, it is integrated with Bootstrap and css less by default. The…

Read more
Example Codes

Defining Styles in WPF

Of course, we can put the styles for controls in each windows xaml file. But I am more prefer to all styles storing in a single file, that is more similar with…

Read more
Announcements [B]

Surface Roadshow at Carindale

When I did my shopping at Westfield Carindale, I found there was a roadshow for Microsoft Surface. That was interesting! In front of the counter, there was a…

Read more
Example Codes

Singleton in C#

To implement Singleton Pattern in C#, that is easy. I like to static class. For example: public static class GobalData { public static Group Group {get;set;} }

Read more
Programming

ADO.Net is still being used

I am still using ADO.net and very simple applications. ADO.net is more flexible. I got more control to translate sql into objects for the presentation.…

Read more
Open source resources

Umbraco Contact Us Form

I am started to use Umbraco. But I found there is no form engine. I cannot create a contact form without coding. But I found there is a good contact form…

Read more
Announcements [B]

windows 8.1 preview

Recently, I went a microsoft meeting. There were a number of people tried Windows 8.1 Preview. According to what I heard, although it will be not very stable in…

Read more