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 do and winfrom application to do the scheduled task as the example, click here to buy it. That is only AUD$3! It can save you few hours of programming, That is very easy, just like the example below
Moreover, you can use it in your web application. Then your web application can generate a backup file to your users for downloading.That is very useful.
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 from the old versions. It changed the concept, MVC is a type of web application. So, we select File -> New -> Project ....
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 web application is fully responsive, works well in Tablet and Mobile too. In addition, MVC5 can support "~". such as src="~/Images/a.png" in img tag. We don't need to use Url.Content(~/Images/a.png"). It makes coding faster. I love these improvement. There is only one down side, Visual Studio 2013 ate much more CPU and Memory. It runs very slow in 8GB RAM and 2nd Generation Core i7 2Ghz laptop.
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 CSS file. If any changes in styles required, you need to modify a single file. That is more manageable.
But, please don't forget to add the reference in App.xaml:
For further details please visit our opensource project - AdvGenContact Manager
In 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.
You just need to use reflection.
Please note that, Assembly Name is without ".dll", such as "AdvgenContact.App.WPF", and the class name need to be full qualified, for example, "AdvgenContact.App.WPF.MainApp".
If you wish to know more, please check out our open source project, AdvgenContact.