Visual Studio :: Unit Test For Developer 2010 Express?
Nov 2, 2010
I am using ASP.NET MVC and want to have Unit Test functionality integrated within Visual Web Developer 2010 Express (or Visual Studio LightSwitch). Is it possible and if so, what is the recommended/best way to get it?
I've wrote the comprehensive post within my blog: [URL] In brief words everything is simple:
1. I've downloaded free Visual Studio C# 2010 Express and Visual Studio Web Developer 2010 Express 2. I've successfully installed these versions. 3. I've tried registration online - and got the appropriate keys which I've used for registration.
Finally all the keys I've got are not valid for the system - and after 30 days evaluation (for free version?) period all these products are not running anymore because all the keys I am providing from online registration are invalid.
Is it possible to configure and use IIS Express with Visual Studio Web Developer 2010 Express? If yes, Please guide me how to configure it?I have installed IIS express without Web Matrix using iisexpress_x86_en-US.msi I am able to run IIS express from command prompt but failed to configure my web site/application with IIS express. I want to configure my web site to launchun on IIS express when i press F5 :)
What is the different between the vs 2010 Web Developer Express and the full version of 2010?With the vs 2010 Web Developer Express will I be able to use all types of databases (MSSQL, MySQL, Access, ect) and enitity frame work?
I uninstalled VWD 2010 Express Beta2. Then installed latest Release(April 12th) via Web Platform Installer .oh yes after installing XP Service Pack 3.
It all installed successfully and when I start the VWD 2010 express image comes up ....there is this fine text that says....
"For Evaluation Purpose Only"
"Use of this software should be limited to evaluation purpose only"
Being confused with that message I looked at Help->About VWD 2010 Express and right on top it says:
"29 days remaining"
So what's happening ? Did I install some wrong product... I don't think so...I used Web Platform Installer and yes it is "Visual Web Developer 2010 Express" and not a Professional Trial software.
I'm totally new to ASP.NET ( as a VC++ 6.0 engineer ), I have just downloaded the express edition of 2010 web developer and cannot find for the life of me the correct project template to create an ASP.NET webservice.. in 2008 it appears there is an option for this .. however I cannot find it in 2010..
I have a form that I'm working on in Visual Web Developer 2010 Express. I have a dropdown list to choose a data from the database. I want to use the chosen list item to populate a GridView object. This seems like it should be a simple thing to do.I have a data connection which uses a fixed SQL statement to populate the dropdown list and that works fine. I can select an item on the list and retrieve the correct information for the next query (namely an ID value for the next SQL statement).I have the data connection with another SQL statement to populate the gridview and that works fine. The gridview is currently just showing the entire dataset (it doesn't use the item that was selected in the dropdown list.Now I want to change the gridview's data connection to use the selected item in the dropdown list as a parameter to modify the SQL statementWhen I look at the properties of the data connection for the gridview data, I can bring up the Query properties and see the select statement. I also see the properties panel. I can add a property Name (Mine is "ID"). I then chose "Control" in Parameter Source and selected the ControlID for the dropdown list that has the ID information that I want to use for the parameter. I went into the advanced properties and modified some of the information because the ControlID is a Text field and the Database Column is a BigInt.My select statement looks like this:
[Code]....
What I don't know is how to get the parameter into the select statement.I've tried:
I use Firefox to browse the web, but I'd like Force Visual Web Developer 2010 Express to exclusively use Internet Explorer when I run my web apps (by pressing F5). is there a way to set this?
My existing system has Visual Studio 2008 and Visual Web Developer 2010 Express. But Microsoft web installer for Webmatrix has made Wematrix Launch ribbon menu pointing to Visual Studio 2008. How could I make Webmatrix point to Visual Web Express 2010. To make use of IntelliSense and the debugger, I have to manually launch Visual Web Developer 2010 Express.
One thing I do like about visual studio is the autoindent feature in the code behind where you can essentially close off the bracket of a loop or method or class and it'll automatically indent everything to make it consistent looking.
My instructions for creating a new web service with VWD 2010 Express call for using the installed template, "AST.NET Web Service". But this template is not listed.
I would like to create a simple web service in visual basic, place it in IIS 7 on my desktop, and then consume it probably using a proxy class.
Is there another way to create a new web service in VWD 2010 Express?
WebPI isn't able to install VWD 2010 Express on my system. I've previously un-installed the 2010 beta. Never had this problem before when upgrading VWD Express.
I have loaded Web Site from HDD. Now trying attach it to process WebDev.WebServer.EXE. But in Visual Studio 2010 Web Developer Express edition of VS not exist tool Attach To Process. Is it normal? if yes,
In Microsoft Visual Web Developer 2010 Express, Edit->Quick Find mean item, the "Quick Find" item, everytime I have to select "Find In Files" again, how can I set "Find In Files" as default?
I have VS 2008 Professional Edition.....I want to test a function like this:
public int getIdByName(string name) { var item=from x in DATAB where x.name=name select x.id; . . return idValue; }
now I test end I have:
[TestMethod()] public getIdByNameTest() { string name="Bob" int expected = 1; int actual; actual = ClassGET.getIdByName(name); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
The error in "test run" is:
Failed ......[Class]....... Test method threw exception: System.ArgumentException: The specified named connection is either not found in the configuration that is not for use with the EntityClient provider or thought is invalid
I tried to install Visual Studio Prof 2010 trail version in my system, but i got an error saying 'Please remove/uninstall Visual Studio 2010 load test controller' to proceed installation. i uninstalled my previous VS2008 software from system and i could not find anything like 'Remove/Uninstall Visual Studio 2010 load test controller' software in my Add/Remove Programs.
I'd like to tryout ASP.NET MVC2, im using VWD2010 on Windows 7. I can't seem to be able to get the unit test dialog to pop up. I googled it and all I find is nUnit templates for VWD2008.
Anyone running into this issue with same setup as mine?
How to force tests from one test library run in one 'packet' - I mean - all tests from A.dll, then all tests from B.dll and so on?
Now, when libraries use the same database, mixing tests from various libraries causes errors - one library restores database before test method is started from other library....
The other possibility, that I'm thinking about is to not use assembly load startup method, but restore all databases only once - before first test starts - but I don't know how to do it...