.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Migrating to 64-bit: beginner's questions

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :WPF


We're looking at migrating our multi-project solution from 32-bit to 64-bit and I have a few fairly trivial questions.

1 - platform

I reaslise that I have to change the platform for each project to "Any CPU".  Just checking the current settings and all the libraries are already "Any CPU", but the ASP.NET website application is set to ".NET".  I've had a look on MSDN and of all the options mentioned, ".NET" isn't one of them.  Can someone briefly define what this value does?

2 - Debugging

I think I'm correct that Visual Studio is a 32-bit application, so this IDE will be running under WOW on a 64 bit OS.  Presumably though when I run my solution in DEBUG mode it will be running in true 64 bit and not 32 bit?

3 - Iterating a loop

I remember reading somewhere that when iterating through a loop on a 32-bit OS, the .NET framework was optimised to use Int32 rather than any other datatype:

for (int i = 0; i < maxValue; i++)

So even if you knew that maxValue was going to be (say) 12, it was more efficient to use an Int32 than (say) Int16 or even a byte.

What about on a

View Complete Post

More Related Resource Links

C# Interview Questions

C# Interview Questions
This is a list of questions I have gathered from other sources and created myself over a period of time from my experience, many of which I felt where incomplete or simply wrong. I have finally taken the time to go through each question and correct them to the best of my ability. However, please feel free to post feedback to challenge, improve, or suggest new questions. I want to thank those of you that have contributed quality questions and corrections thus far.

There are some question in this list that I do not consider to be good questions for an interview. However, they do exist on other lists available on the Internet so I felt compelled to keep them easy access

SharePoint document migration challenges when migrating files and folders

There are several challenges when migrating documents to Microsoft SharePoint. While these challenges can be overcome, they are a real pain if the migration source, content and file systems are not SharePoint friendly.

Frequently Asked Questions - SQL Server Data Types

This is good and precise introduction and Frequently Asked Questions - SQL Server Data Types

Beginner's book for ado.net 2.0



Can anyone suggest me a book for beginners in ADO.NET 2.0 ? 

Beginner: this doesn't make sense to me


Do you need and "empty" script tag in the head to run scripts that are in the body?  Also, can you run JQuery scripts if they're in the <head> tag?  The first sample only works if the JQuery script is in the form (and body) tag, not in the head - even if I add $(document).ready(function() { });

This works

<head runat="server">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" />
<script type="text/javascript">
<form id="form1" runat="server">
<a href="">Here is a link</a>
<script type="text/javascript">
$('a').click(function () {
alert("you clicked me!");


This doesn't work.  Notice I removed the second <script> tag from the head

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="serve

PollLockedSessionCallback error after migrating to 2.0


We have an applicaiton that was converted to the new framework using the wizard in Visual Studio 2008.  When we install the applicaiton in production and change the iis settings to use the 2.0 framework we start to see these errors in the event viewer on the web servers.

We are using SQL Server Session State and have 3 web servers in a load balancer.


Object reference not set to an instance of an object.</Message><StackTrace>   at

Not sure what is causing this - anyone have an ideas?

Linq qry with order by basic questions


I have never tried a group by with linq, now I do and I'm stuck.

I try to convert this sql statement to its linq counterpart :

SELECT COUNT(tb_Mailer_Smses.Id) AS [cnt], tb_Mailer_mailing.Id As [Id]
,SUM( CASE WHEN tb_Mailer_smses.DLRStatus = 200 THEN 1 ELSE 0 END) As [Delivered]
FROM tb_Mailer_mailing INNER JOIN
tb_Mailer_Smses ON tb_Mailer_mailing.Id = tb_Mailer_Smses.MailingId
WHERE tb_Mailer_mailing.ApplicationId = 1
GROUP BY tb_Mailer_mailing.Id

Is there some one who can me show me the convertion process ?

Mobile beginner's inquiry


I've developed web applictions in VB in VS2005 pro and want to get started on developing mobile applications in VB now that I've upgraded to VS2010 pro.  It's proving to be more difficult to get off the ground than I expected.  It would seem that there have been several toolkits for developing mobile applications since NET 2.0 -- some obsolete -- and the web refences I've been going through seem to be a mishmash of broken links, circular references and dead ends.

When I click on toolbox -> choose toolbox items, all of the system.web.ui.mobilecontrols are there.  But they never turn up in my toolbox.  And I can't find a way of beginning a  mobile website project, either.  Nor can I find any examples of mobile ASP.NET development in either the samples included with VS2010 or online at http://msdn.microsoft.com/en-us/vstudio/dd238515.aspx

My needs are simple: can somebody tell me what additions or configuration changes I need to make to prepare my VS2010 setup for working with ASP.NET 4.0 mobile controls?  And once this is there any good tutorial for learning mobile website develpment that doesn't involve contracting with a third party?  How about a good book for learning the CURRENT tec

Migrating ASP to ASPX.... where to set 301 redirects


Hello, I'm updating around 15 pages from .asp to .aspx (.net 2.0)

My question is, do I have to put a header redirect 301 (permanent redirect) on each old file, or can I put it in global.asax file with a case checking for any of the 15 files?

I some tries to go to old.asp will it execute global.asax anyway?

What would the best aproach be?



Warning migrating 1.1 to 2.0


Hello Evreyone,

We have web application migrated from Asp.Net 1.1 to 2.0. Everyhting works and runs application fine except following compilation warning. Does anybody know the solution?

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /unsafe- /nowarn:1701,1702 /platform:AnyCPU /errorreport:prompt /warn:0 /define:DEBUG;TRACE /reference:"C:\Program Files\ComponentArt\Web.UI 2007.2 for ASP.NET 1.0\live_demos\bin\ComponentArt.Web.UI.dll" /reference:bin\DayPilot.dll /reference:

"C:\Program Files\Developer Express .NET 2005 v6.3\Sources\DevExpress.DLL\DevExpress.Data.v6.3.dll" /reference:"C:\Program Files\Developer Express .NET 2005 v6.3\Sources\DevExpress.DLL\DevExpress.Utils.v6.3.dll" /reference:"C:\Program Files\Developer Express .NET 2005 v6.3\Sources\DevExpress.DLL\DevExpress.XtraEditors.v6.3.dll"
/reference:"C:\Program Files\Developer Express .NET 2005 v6.3\Sources\DevExpress.DLL\DevExpress.XtraPrinting.v6.3.dll"
/reference:"C:\Program Files\Developer Express .NET 2005 v6.3\Sources\DevExpress.DLL\DevExpress.XtraReports.v6.3.dll" /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Configuration.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.DirectoryServices.dll

Questions about getter and setter


I created a getter and Setter in Visual Basic. I have some questions though. Please look at the code below.
Here are my questions.

A.) At line 1 below, should "pieces" be declared as Private?
B.) In the IDE at lines 4 and 7 the IDE keeps changing those variables to uppercase so that the property name "Pieces" is the
    same as the variable name "pieces".Should I instead define the integer pieces with an underscore: _pieces ?
That is the only way I can get around the IDE forcing the variable to become uppercase.


1  Dim pieces As Integer

2  Public Property Pieces() As String
3  Get

4  Return pieces
5  End Get

6 Set (ByVal values As String)
7   pieces=value
8 End Set
9 End Property

Windows Azure: Tips for Migrating Your Applications to the Cloud


Windows Azure is already helping many companies move their apps into the cloud. We'll share some of the tips and tricks that we discovered working with customers on real-world migrations.

George Huey, Wade Wegner

MSDN Magazine August 2010

CLR Inside Out: Migrating an APTCA Assembly to the .NET Framework 4


The CLR security model in the Microsoft .NET Framework 4 has undergone some substantial changes, including the adoption of "Level2" transparency, similar to the Silverlight security model. Mike Rousos provides an in-depth explanation of how that will likely impact authors of AllowPartiallyTrustedCallers (APTCA) libraries.

Mike Rousos

MSDN Magazine March 2010

Service Station: Migrating to WSE 3.0


You've probably heard that the new version of Web Services Enhancements (WSE) for the Microsoft® . NET Framework simplifies the process of building secure Web services. What you may not know is that most of these improvements derive from some core architectural changes made in WSE 3.

Aaron Skonnard

MSDN Magazine April 2006

Data Points: Migrating from ADO to ADO.NET, Part 2


As you move forward with your use of ADO. NET, you'll need to know how to approach situations that you previously learned to handle in ADO and now have to tackle with ADO. NET. Just as n-tiered solutions developed using Visual Basic®, C++, and ASP often rely on ADO for their data access needs, Windows® Forms, Web Forms, and Web services rely on ADO.

John Papa

MSDN Magazine August 2004

Data Points: Migrating from ADO to ADO.NET


In recent years ADO has taken the lead as the preferred method for implementing data access in Windows®-based applications. Huge numbers of ADO applications are in use today and many developers are well versed in ADO development.

John Papa

MSDN Magazine July 2004

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend