Solid Hosting // Blog

This is not intended to be a typical company blog. Surely, we may occasionally post some materials related to our web hosting services;
but most of all, we'll try to turn this into a helpful online resource, covering various topics in different areas of IT.
Posts tagged "ASP.NET"

Starting a process in any given Windows Terminal Session via C# and P/Invoke

(All code, presented here, is available at the end of the article as a ZIP file for download. As such, some definitions and declarations might be omitted, for brevity. This is why references to P/Invoke are NOT made, as all the definitions are already inserted in the code) An interesting problem came up one day,...

A simple way to update a Windows service (C#)

In a recent project of ours, the problem how to update a C# windows service arose.  We came up with a pretty simple way of doing it all. Here is how: There are three issues to tackle here: How to check whether a new version is available. How to download the new version How to install...

How to change an ASP Membership user’s password without knowing the old one

A project of ours required a user management interface to be implemented on top of the Membership framework, which required that the user in an “admin” role be able to change any user’s password to a new one (typed in by the admin). The ASP Membership framework offers the handy MembershipUser.ChangePassword(String, String) function – http://msdn.microsoft.com/en-us/library/9d5bh3ec.aspx...