.NET Interview Questions and Answers


 

Interview Question in .NET

NET projects

I am a .NET developer, beginner. I want to go through some projects in .Visual studio.net 2003 in visual c#.net...the projects which give me an overview of how projects are done in industries...can anybody give me the URL of that site...? or help me in any other way... Will be quite helpful...

Thanks,

1)I want to know how to create VB.NET application EXE

(actually i created one application in VB.net 2003. but the application is not working in others pc where the visual studio is not installed.) that is why i want to create an exe of that application which runs on every windows platform.)

How to make an executable in VB.net

I have a VB project for which I need to create a single executable, ASAP. I don't want a folder full of files; I don't want an installer; I especially don't want the user to have to have the .net framework on their computer.

Is this even possible any more? Everything I can find on the issue describes some sort of "Setup and Deployment" voodoo that creates a new folder on my computer, and I can't even figure out how to get it to *put* anything in that folder.

Again, I need an executable above all. If at all possible, I want this to be completely standalone. If I have to use Setup and Deployment, I will, but a few hints as to how to proceed once that project is created would be helpful.

Version: Microsoft Development Environment 2003, (Version 7.1.3088) and Microsoft .NET Framework 1.1 (Version 1.1.4322) from the Visual Studio suite. I have the CDs and can add components if necessary but I've looked and can't find anything that seems to be what I need.

Thanks for any help!

Where can i find the VisualStudio .NET 2003

well i have been searching the Visual Studio.NET2003 for a project with my friend but cannot find it anywhere..even at microsof...can anyone give me a link of a torrent or sth ?

Untrusted web server was used? What does it meant

Recently, I had problem creating/opening a project from the Visual Studio .NET 2003 because it states that the web server is not running. Now, this problem has been solved.

I can now create/open a new project.

However, when I open a project, this message will pop up:

" The project '<project_name>' is on an untrusted web server. Opening this project may cause code to be executed with full trust.
Do you want to continue opening this project? If you do not trust thw source of this project, you should choose 'No'. "

If I click 'Yes', I can open a project. If I click 'No', then I can't open one.

So, how do I make my web server a trusted one? I don't want this message to pop out whenever I want to open a project.

Has it got to do with my IIS?

Please help. Thanks :)

What do I enter in the location when working with ASP.NET web application in order to save my work

I am working with Microsoft Visual Studio.Net 2003 at home. I need to create a Visual C# project using the template ASP.NET web application. I do not know what to state in the location.

I understand that it should be a URL but what exactly should it be?
Can a geocities or a free web hosting website do?
If so, how do I do it?

How to start web server on asp.net

It's been a long time since I opened my Visual Studio .NET 2003.

When I wanted to create or open a project, this prompt pops up:

"Visual Studio cannot create or open the application because the web server on this computer is not running. Start the web server before running".

How do I do that?

Can;t execute in C++

I've installed Visual Studio.NET 2003, created a new Console Application in C++ and tried to run but it says "Unexpected end of file". Solution please!

XAMPP help please :(

i installed XAMPP on my windows XP . but i have a problem. i have already installed Visual Studio .NET 2003 and now when i type http://localhost , firefox asks for username and password and since i donot knw the password and username , it redirects to http://localhost/localstart.asp.. and in Internet Explorer the Internet Information Services IIS comes ... instead of the XAMPP screen. am new to this . how can i fix this and do php and mysql projects ? should i remove .NET from my PC?

VB.net guestion

I have a problem with compiling a VB.net solution. The errors that
occur are about Microsoft.VisualBasic.dll.
All errors look like:
<name> is ambiguous between declarations in Modules
"Microsoft.VisualBasic.Strings" and "Microsoft.VisualBasic.Strings"
I've tried searching the web but I couldn't find the solution of the problem.
hint: I use Visual Studio .NET 2003
P.S. I need an answer as quickly as possible.

Windows XP Log on Problems

I just got through setting up Windows XP Pro w/ SP2-- and I had 2 accounts set up, Administrator, and Guest, when the log on screen appears, it only let's me click Guest, "Administrator" isn't even listed. I put Visual Studio.NET 2003 on here as well and clicked the asp.net and made it administrator as well, could that be my problem, any solutions??? Please help me, I have never had this problem before with XP, please help!

Deploying my application

i am new to .net, i am currently using visual studio .NET 2003, i have a c# application, and i am trying to deploy this application on a web server.

Question 1. Which web service should i use to deploy my website application.

Question 2. What are the steps on how to deploy this website application so that everyone can see ( both from my machine and on the webservice i am using.

C++ compiler and guide

I am interested in programming and so far I only know Visual Basic, Basic, and QBasic, not so amazing. Anyway, lately I have grown interest in C++ and want to learn it. I know C++ is a massive language but are there any compilers? guides? to get statrted? I like using the 32-bit compilers, but it doesn't make a difference. Also, I have VIsual Studio.NET 2003, but I don't know hwo to use it with Visual C++. Even teaching me how to program Hello World would be fine.

Slow Internet with Windows Server 2003

I'm currently using Windows Server 2003 at home as a stand-alone OS to develop software. It's set up as a domain controller, but no other computers are connected to it. It exists on it's own hard drive and when I want to use it I shut down my computer, take out the hard drive with XP on it (I have swappable hard drive bays), insert the drive with Windows Server 2003 on it, and fire it up.

The problem i'm having is that when I need to connect to the internet, it takes a LONG time for the pages to open, or sometimes they don't open at all. I've entered all of my most used website addresses into Trusted Sites, but still I get errors. When I connect to Visual Studio, sometimes I cannot access MSDN or the ASP.NET Configuration Page (which I need for developing websites).

I'm totally baffled. When my XP drive is in and running my internet connection functions normally, and I almost never have problems accessing the internet.

Im using IE 6 and broadband connection

Help!

NET projects

I am a .NET developer, beginner. I want to go through some projects in .Visual studio.net 2003 in visual c#.net...the projects which give me an overview of how projects are done in industries...can anybody give me the URL of that site...? or help me in any other way... Will be quite helpful...

Thanks,

Help with a program I;m trying to make

I'm trying to make a program in Visual Studio.NET 2003, in Visual Basic, and what it does is supposed to look at the computers hardware, and check to see if it is compatible with another program. How can I go about doing this? I'm not sure what kind of code I need to use to check the hardware. I mostly need to check the CPU Speed, and what type of video card/and the memory on it, and also the RAM.

How can i generate a dll file of the class i have made in C++

i am currently using Visual Studio .NET 2003.

Please Recommend HTTP Web Server to Install

Im currently using Windows 2003 Server ONLY because I wanted a web server (IIS6) which could serve up ASP.NET v1.1 pages, allowed me to debug my apps through MS Visual Studio .NET 2003, and gave me the ability to host multiple websites (each provided host name points to a different file folder as root) and provide multiple identities for the website.

Besides a decent web server Win2K3 has been a pain. Can some one please recommend a commerical or free web server which can do my wants but is capable of running on Windows XP? I'd use Apache for Windows but DAMN, that thing can be too too brutual to install and the last i saw it didnt even work properly with ASP.NET.

Thanks.

I want to program with J2ME, where do i start and where di i write/compile and test the code

im not new to programming however J2ME is new to me, and SDK development tools too..... so where do i write the code?
is Visual Studio .NET 2003 suitable? Eclipse? Regards for any help

I have a problem with cSharp.NET, any body can help

Hi, I'm working with visual studio 2003, C#.NET, i've created 2 forms (form1 and form2), form1 calls form2 by clicking a button, when pressing the button form2 appears separated, i want form2 to be loaded on form1 or when loading form2 form1 must disappear, any body can help?
12345