2. I added a WebApplication project to this solution.
3. I clicked Add Web Reference
4. I clicked Web services on the local machine
5. Web Services listed on my local machine:
"There was an error while enumerating services on local machine:
Active Directory Services cannot find the web server. A possible cause for this is an incompatibility between versions of Internet Information Server (IIS) on the client and the server. Another possible cause is that IIS is not installed on the local machine, or the user identity under which you are running may not have permissions to view websites on this machine. To view websites on this machine, make sure that you run Visual Studio as administrator. On Windows Vista computers with IIS installed, make sure that
IIS Metabase and IIS 6 configuration compatibility feature is enabled."
I have Visual Studio 2010 beta and Visual Studio 2008 Professional installed on this computer. I do not have any IIS server installed. Do I require a IIS server when coding webservices+webapplications?[URL]
am working as a web developer in a company. I am not aware of anything related to testing. Our company is planning to buy some testing softwares. Presently we are working on ASP.NET. We will be working on PHP and JAVA in future. I need your help to find out the best but cost effective testing sofwares.on TFS and Visual Studio Testing tool.
i am finished writing the main part of my website and would now like to write the iphone version. is there a way to debug my site using the built in debugger in visual studio? i have only been able to access it on the computer it is running on.
I want to load test an ASP.NET web service. I have Visual Studio 2008 Professional Edition and Visual Studio 2010. Can either one of these products facilitate load testing? I can't seem to find anything and all Google returns is higher end editions of Visual Studio.If not, what are some of the alternatives.
I am lookinf for a Unit testing Tool for asp.net web application. i intended to use visual studio 2008 web test. Please tell me where can i get nice tutorials to start up on this tool. and also suggest me is any other web testing tools out there.
For developing a VS-2008 application at developing stage best softwares for test the application.we found some of the testing applications like NUnit and MSUnit, which are the softwares best to test the application at developing stage.
have a test project for testing methods in the Business/Models tier of my application. For methods that do calculations or have return types this works great.What would some suggested ways to perform (any is this even necessary) testing on methods that would normally have no return type, such as a 'Delete' method?Example:
I want to create a unit testing project for my existing websiet which is written in VB. When I try to add a unit testing , no place I can select c#. It always create in VB. How can i add a c# unit testing project for it?
is there any tutorial about how to run a unit testing on a web page (events...etc) in visual studio 2008? is it even possible? i can find anything to start with
I have alway tested/debugged my web applications by using f5 to "Start Debugging". Recently (yesterday) I have begun to start without debugging then attach the debugger to the webdev process if I needed to set breakpoints or anything. So far I haven't noticed much of a performance increase when not using the debugger. I am curious about how others save time when running locally.
Coming from Java programming, I'm used to the general Main<->Test Maven-setup for a project. Whenever there's a new build, all tests will be run by Maven/Junit and I get feedback about them.
I've been looking around and I can't find an analogue way for ASP.NET and Nunit. Am I forced to put my UnitTest-classes in the APP_Code folder?
What's the general way to do this? Are there any recommendations for continuous integration?
I wantto make a slower transmitting/transferring data speed for debugging issues.(no threading sleep is not my answer) searching a way to limit webdev.webserver speed (bandwidth) ?
for example maybe checking on "custom web server=webdev.webserver /BandwidthLimit=128bs"
i created a unit test project with the built-in unit testing from vs 2008. i noticed that when running a unit test and in particular when the class i am testing attempts to set a value from the app.config file using the configurationsettings, the configuration settings object always has 0 keys...and thus my value i am trying to use is always null...is there anything about the unit testing structure that would return null values from the app config when i know the keys are there...the existing program uses those keys for email addresses and such already.
I'm going thru an asp.net 4 book, and I'm at a part about classes and their properties and functions. But up to now, all the examples involve a web_site, with controls, code_behind files, CSS, etc. But, I get to places where I don't understand the examples, so I look out on the web for other resources. For example, I found the code below to demonstrate the "ToString" function. My problem is, I'm not sure know how to test a little piece of code like this. Can't I just open up an application or project or something, paste this in and run it?
Module Module1 Class Perl Dim _a As Integer Dim _b As Integer Public Sub New(ByVal a As Integer, ByVal b As Integer) _a = a _b = b End Sub Public Overrides Function ToString() As String Return String.Format("[{0}, {1}]", _a, _b) End Function End Class Sub Main() Dim p As Perl = New Perl(2, 3) Console.WriteLine(p) End Sub End Module
In VS2008 I create an empty Solution "CmsWork" with a new Web App Project "CmsWork" and add a Web Form "TestForm1.aspx".
From Toolbox I add a TextBox and then in codebehind try to refer to it in Page_Load. Intellisense and compiler both say TextBox1 does not exist in the current context. Tried referencing the control as TestForm1.TextBox1 and CmsWork.TestForm1.TextBox1 -- same error. wtf?
TextBox1 shows up fine in Design View and is labeled "TextBox1". What does Design View know that Code View and the compiler don't? Adding code to call FindControl and typecast to a TextBox works fine, but shouldn't be necessary. Controls can be referenced by ID in a codebehind in a Website project. Why not in a Web App project? This should just trivially work. I must be missing something EXTREMELY simple. I've tried restarting VS2008 normally and with "devenv /resetsettings" -- no effect. Reboot: no effect.
This is VS2008 Development Edition under Windows Server Enterprise SP2, with no VS add-ons, extensions, etc.
Aspx page:[Code]....
Codebehind:[Code]....
Build output:
Error 82 The name 'TextBox1' does not exist in the current context C:Users...DocumentsVisual Studio 2008ProjectsCmsWorkCmsWorkTestForm1.aspx.cs 14 4 CmsWork
I am looking to create a simple windows program that would allow users to calculate their holiday entitlement based on a few simple rules (length of service, job grade, % full-time). Users would use drop-down lists to select their relevant fields, and the holiday entitlement would be calculated from the values given. For example, someone at job grade '1' with 2 years of service gets 25 days a year, whilst someone else on job grade '1' with 4 years service gets 28 days. Is this sort of program possible in Visual Studio 2008?
I'm currently developing a few ASP.NET MVC2/.NET 3.5SP1 web-services that are mostly IO bound (execute a couple HTTP back end calls + DB write per request) and i'm getting really poor load-testing performance.
To make sure it wasn't something in my application, I created a brand new ASP MVC 2 project (project -> new -> "ASP.NET MVC2 Web Application", based on .NET 3.5 SP1), added a "TestController" with the following action:
[Code]....
I deployed this on a dual-core test server, running Win2008 and IIS7, Application Pool set to "integrated mode". I have the following in my C:WindowsMicrosoft.NETFramework64v2.0.50727Aspnet.config:
[Code]....
Just in case, I added the following DWORD key in the registry:
[Code]....
I verified I was able to access my test action from a regular browser and started a load test from another machine on the same network: user load set to 500, no "think" time.
The following is what I observe on the machine running the loadtest after about 8 minutes:
req/s: 5.98avg response time: 78.4 secondsno errors whatsoevernote that the local CPU is 1-2% On the test server, this is what I observe using perfmon:
request current: flat line at 501request execution time: flat line at 1506 ms avg => this makes sense though I don't understand why I see the request coming back after 78 seconds at the other end% proc time avg < 1%request queued as well as all others asp.net v2.0.50727 counters at 0 I don't get it. I believe the expected behavior would be to see about 333 req/s (500/1.5) with a avp response time of 1.5xx seconds...
I have deployed a web service on my development machine and i am connecting it through my asp.net application, both web service and asp.net application are on same machine but web service is hosted on IIS.