If you are looking for an OR mapper LLBLGen is certainly worth a look. I have used it on projects and it certainly saved me a lot of work. And now there is a book out about how to use LLBLGen Pro making it even easier to get started. Check out this blog entry by Frans. Recommended! Maurice de Beijerwww.TheProblemSolver.nl
If you where planning to come to and visit Tech-Ed in Amsterdam this year you might want to revise your plans. Why you might wonder? Well Microsoft has decided to reschedule and reformat Tech-Ed. Instead of July in Amsterdam it will be held in Barcelona, Spain in the beginning of November and it will be focused more on software development Maurice de Beijer www.TheProblemSolver.nl
All I had to do was go to Morocco for a week and Rocky comes up with a great post that just completely mirrors my feeling. Users don’t care a damn bit about technology! Maurice de Beijerwww.TheProblemSolver.nl
If things are a little quite next week it is because I am off to Morocco for the week [:D] I will have some pictures to share when I get back so stay tuned for more. Maurice de Beijerwww.TheProblemSolver.nl
Microsoft has announced that there will be a SP3 for Windows XP during 2007 and a SP2 for Windows 2003 server in the second half of this year. See http://www.microsoft.com/windows/lifecycle/servicepacks.mspx for more details. While still quite a long way away it is certainly good news. Just make sore you report all bugs you run into so they can get on a fix list. Of course you need to send in any crash reports as well as they are looked at and can be instrumental in prioritizing and fixing bugs. Maurice de Beijerwww.TheProblemSolver.nl
Working with ASP.NET and doing anything with threads or thread related info? In that case you might want to read Rocky’s post about ASP.NET thread switching. He has some nice info to share about some of the possible traps you might fall into. Maurice de Beijer www.TheProblemSolver.nl
One cool, and not quite new, feature of Visual Studio 2005 is data binding to your own business objects. Just create a new business object class, add a property, add it to the Data Sources window as an object data source and drag it onto your form. Simple as that and you are good to go. However as usual there is a gotcha 🙁 It throw an exception in a property get or get during the data binding the exception is eaten by the DataBindings object. There are two ways around this, either pass False as the formattingEnabled parameters or … Continue reading Databinding to business objects and exceptions
The My.Settings feature in Visual Basic 2005 is a great way to store form settings like the forms location so the user gets the form at the same place as he/she closed it last time. Adding it is real simple. Just go to ApplicationSettings in the property sheet, expand it, open the combo after location, choose new and type a name like “FormLocation”. Simple as that and you are done [:)] However there are some problems [:(] The property name must be unique, Give two separate forms the same name and both will be shown at exactly the same position. … Continue reading My.Settings and form inheritance
In my last three blog entries I showed how to use the ASP.Net membership provider in a Windows application. I finished with the problem of storing the current user name and the fact that there is a second overload to the IsUserInRole() function that only takes a role name. Well it turns out that this function checks for the current user and uses either the HttpContext.Current.User or the Threading.Thread.CurrentPrincipal depending on the fact if the application is hosted. As the Threading.Thread.CurrentPrincipal is the normal way access is provided to the current user and role information in a windows application this … Continue reading Using the ASP.Net membership provider in a Windows forms application part 4.
In my last two blog entries I showed how to use the ASP.Net membership provider in a Windows application. Now that we can add a validate users we might want to start using roles as well. To work with security roles we need to use the class System.Web.Security.Roles. This class works pretty much in the same way as the Membership provider. To add a new role we use the CreateRole() function and to associate a user with this role we use the AddUserToRole() function. So adding the Developer role to my previously created user account can be done with the … Continue reading Using the ASP.Net membership provider in a Windows forms application part 3.