Horizontal Stackpanel in WPF
Stackpanel is a useful layout control in WPF. If you have a set of elements need to sit side by side each other, this is your best option. For example, in my…
Read moreMy .Net Blog — posts in this category.
Stackpanel is a useful layout control in WPF. If you have a set of elements need to sit side by side each other, this is your best option. For example, in my…
Read moreI have some styling in my WPF opensource project, AdvGen Contact Manager. That is similar with css, just state the class name like : <Grid Grid.Column="1"…
Read moreIn 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 moreOf 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 moreIn C#, you can create an instance of class dynamically. For example, you can create an instance of class according to database values, rather than hard coded.…
Read moreTo 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 moreIn a number of situations, we need to know a Physical Path in a server from URL. For example, we need to upload some photo. Thus, this is a very common task,…
Read moreI am building an installer for my CMS, AdvGenCMS. The first part is adding connection string and saves it into web.config. That is doable in C#. Just like the…
Read moreA lot of people know about WCF supports XML as the return response. Actually, it supports JSON. All you need to set ResponseFormat.…
Read moreRecently, our Company(AdvanGeneration) have built a lightweight .Net CMS,AdvGenCMS. I did some researches for .Net CMS. The most of them have own their ORM and…
Read moreI have completed the users section for AdvGenCMS. I used ASP.Net MVC 3 and Razor to do. It has CRUD functions and used the LINQ Repository Pattern. I think that…
Read moreCustom Membership Provider is easy to do. Firstly, please extends MembershipProvider public class AdvCMSMembershipProvider : MembershipProvider Secondly, Right…
Read more