Weblog Of Nirandas | home

Developer From INDIA

Some key C# operator and their VB.NET counterpart

clock April 28, 2009 07:41 by author Nirandas


In this post I try to describe some commonly used C# operator and their VB equivalent. This is intended as quick reference for C# or VB programmers who know one language but are in  the process of learning the other. So, let's start.



More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Using Email instead of Username for logging in

clock April 25, 2009 03:26 by author Nirandas

ASP.NET provides various ready-made controls for making our life easier. One of them is Login control. ASP.NET Login control can be used for displaying a standard UI for user login.. The control displays two textboxs for entering username/password and a checkbox for indicating whether to remember the user on this computer. The Login control does not by default allow to set whether to use username and password as the log in or email and password should be used. In this post I'll show how we can easily change this behavior and allow our members to use their email address while logging in.

More...

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Where can I set target platform to .net 2.0 in vs2008

clock April 24, 2009 07:18 by author Nirandas

VS2008 allows to target multiple .NET versions (V3.5, V3.0 and V2.0). But where exactly to set it? The thing is that this setting is found at different locations depending on whether it is a VB.NET project or C#.NET project.

For C#, it can be found on the application tab of the project options itself. You can simply choose which .net version to target from a dropdown list of supported versions. However for VB, this option is found by clicking on "Advanced Compile options" in the compile tab. Besides targeting .net version, there you can set other options like Remove integer overflow, Define debug and trace consts etc.

VB has a habit of doing things differently from C# or, it is other way around? Anyway, hope it will help someone.

 

 

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Wordpress to BlogEngine Complete

clock April 20, 2009 08:23 by author Nirandas

 

I've just completed my migration of old posts to this new blog. Method I used for it isn't very nice however, it look like it is successful. I basically wrote some code to export posts from DB into a private format and programaticly imported those into BlogEngine. It was bit time consuming, however, tags/categories/comments etc are well preserved and it worth the effort. I've also added 301 redirects from old URL to new ones; it was not that difficult as SEO titles of post in the old and new system are same.

 

Also, my first attempts at code formatting in BE were unsuccessful. I am not looking for colorful code, just enough to highlight the code and if possible, to use line numbers. I'll play with BlogEngine and see whether I can manage a simple highlighter for me.

 

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Switching to BlogEngine.net

clock April 19, 2009 06:14 by author Nirandas

For last one year I've been using wordpress as my blogging platform. I selected wordpress at that time purely because of its ease of installation and wide popularity. Though wordpress is one of the finest blogging software available today, I always wanted to use a .net based blogware.

So, I have decided to switch to BlogEngine.net. Now the thing left to do is to transfer my old posts from  WP to BlogEngine. Although there is a import tool available, it have not worked very well for me in the past.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Who Am I?

I am Nirandas - a developer from INDIA

Sign in