IIS Express Makes Easier To Build, Run And Test Web Applications
Jul 5, 2010
I thought you might want to know this, the beta of IIS Express will be released soon, and will make use of the best of both worlds: VS build in web server and IIS in Windows itself. Anyways, IIS Express makes it even easier to build, run and test web applications.
View 3 Replies
Similar Messages:
Nov 11, 2010
I'm fairly inexperienced with JavaScript and jQuery,but I need both for the ASP.Net website I'm working on. I am slowly figuring it out, but I've been relying heavily on StackOverFlow.Does anyone know of any tool (preferably free) that makes debugging JavaScript and jQuery easier?I've been using Firebug which has been helpful,but I guess I'm just spoiled by Visual Studio's debugger and intellisense.Is there anything like that for JavaScript and jQuery?It would sure make my life easier if there were?
View 7 Replies
Aug 30, 2010
We are migrating a project from classic Asp.Net web forms to Asp.Net MVC. I have followed the fours steps outlined here [URL] and all is working well. Now I want to get Visual Studio to include MVC item templates in the "add new item" dialog. So I add {F85E285D-A4E0-4152-9332-AB1D724D3325}; to the <projecttypeguids> element in the csproj file. So this succeeds in adding MVC support to the Visual Studio "add new item" dialog, but now the build fails. And it fails in the strangest way. The three projects that make up the solution each complete with "build succeeded" but the process ends with a message
Build: 2 succeeded or up-to-date, 1 failed, 0 skipped
I am able to F5 debug, but I am not able to publish. We are using Visual Studio 2008 SP1 and migrating to MVC 2.0. Anyone have any ideas why the build is failing after adding this project type guid?
View 1 Replies
Sep 22, 2010
My question so general, but I think the answer will be specific.
All I want to know is:
Is there a way or steps or mechanism to test the application (web application) in a professional way?
Many times when I finish developing and try my application, testing it with dummy data several times, and when I think every thing is okay and I think I have covered all possible scenarios, I find I forgot important issues, or others tell me they found problems in my application.
How do I overcome this problem, and save my time?
Good links:
[URL]
[URL]
View 7 Replies
Jun 29, 2010
I'm looking for examples or some tutorials that explain how to Unit Test ASP.NET Webforms applications?
Can any one share that?
View 2 Replies
Jun 12, 2010
We have two applications. One application in .asp and second application in java.we want to build interface for universal authentication, so that one can access the other application once signed into one application.Both applications are using SQL database, but one is written in .ASP hosted on Windows server while the other is in JAVA hosted on a Linux server. The applications are currently resided on two different
servers.
requirements:
1)The end user are most likely to access the applications through .ASP first, then reach the 2nd application more like "back office" management system.
2)he JAVA application currently works well with IE web browser, but not very smooth with other browsers such as Firefox. Would like to make the application to be more compatible with other browsers.
View 2 Replies
Jan 20, 2010
I would like to make the build information for the running web application but I dont know where I set or configure this nor do I know how to retrieve this information.
In a project you may set the build information in the file AssemblyInfo.cs under the projects Properties folder. Here is a snippet of the AssemblyInfo.cs file:
[Code]....
But there is no such file for an web application project, so I have to get this information from one of the compiled DLLs that is in the same assembly as my web application then? Or how is this done?
The reason I want this information is because my customer would like to have a webpage within the web application where he could see the current version. This is also nice to have when testing and debugging etc.
View 5 Replies
Sep 16, 2010
we are working in a small team. We often had problems like developer1 did some changes in stored procedure or funtion and it affected work of developer2. Such issues are traced out by chance later. Please guide me how such issues can be stopped. Is there a free tool that we can run to test such issues.
View 3 Replies
Dec 2, 2010
There are lot of open-source application available in these days which provide various things like blogging, cms, own branded application etc.
Like blogs :
-subtext
-Wordpress
-Joomla
-Drupal etc.
As I told there ar elot of open source application available in the world. But, I want to develop one in asp.net/C#.
View 2 Replies
Sep 30, 2010
I need to build a page to test online video speed.
video will be uploaded in my webserver and there is no flash play in the server. I need to have two players. one is window media player, second is a flashplayer (prefer using google player)
Page layout:
Windows media player
report of speed testing
Flash player
report of speed testing
report requirement
1.length of video
2. total time that spend to load this video (dynamic is better)
3. average download and upload speed during playing the video
View 1 Replies
Jul 10, 2010
Can i use web developer express 2010 to deploy applications or is it still in Beta?
View 1 Replies
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?
View 1 Replies
Mar 29, 2011
I have a C# program used to build and deploy a suite of websites.
I would like to programatically interact with IIS so that it changes where the virtual directory for a test system points to based the result of the build.
View 4 Replies
Mar 17, 2011
When I'm building my web project it takes about 20 seconds to compile. Then when I try to browse to a web page in project, asp.net does its runtime compilation(another 20 seconds). I know I can't escape these steps because thats how asp.net works, just want to see if anyone has some kind of optimization to make these builds faster.
Trying to improve Edit-Compile-Test loop
My machine details:
-Intel Core i7 processor @2.80GHz
-8GB of RAM
-HD @ 7200 RPM
View 4 Replies
Jan 3, 2010
Taken from http://msdn.microsoft.com/en-us/library/dd410597(VS.100).aspx ...
If you are using the Standard or Express editions of Visual Studio, the Create Unit Test Project dialog box is not displayed. Instead, the new MVC application project is generated without a test project.
View 1 Replies
Sep 21, 2010
My instructor gave us example code that is very similiar to the code below. I haven't heard back from him yet and wanted to find out why my code won't work properly. Could someone give me some advice on what I'm doing wrong or an easier method to display images.
<%@ WebHandler Language="VB" Class="images" %>
Imports System
Imports System.Web
Imports System.Data.SqlClient
Public Class images : Implements IHttpHandler
Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
Dim id As String = context.Request.QueryString("ImageId")
Dim userId As Integer = 4
Dim conn As New System.Data.SqlClient.SqlConnection
Dim cmd As New System.Data.SqlClient.SqlCommand
conn.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString
cmd.Connection = conn
cmd.CommandText = "SELECT Image FROM mrg_Image WHERE UserId=@userId"
cmd.Parameters.AddWithValue("@userId", userId)
conn.Open()
Dim file_bytes As Byte() = cmd.ExecuteScalar()
Dim file_bytes_stream As New System.IO.MemoryStream(file_bytes)
'During the build - The next line of code is highlighted green with the error message of, "Parameter is invalid"
Dim the_image As New System.Drawing.Bitmap(file_bytes_stream)
context.Response.ContentType = "image/jpg"
the_image.Save(context.Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg)
conn.Close()
End Sub
Public ReadOnly Property IsReusable() As Boolean Implements IHttpHandler.IsReusable
Get
Return False
End Get
End Property
End Class
View 1 Replies
May 15, 2010
I'm across winforms currently but want to write an app that users will have a LAN/WAN between them and database.
So assuming I need to use WCF if I stick with winforms as the UI, or go ASP.net and go web, THEN which of these two approaches would be the easier rampup approach for me?
Note wanted to use Entity Framework.
View 2 Replies
Feb 16, 2011
I have several controls I want to be able to make make visible (or hide) as a group. I know I could put them in a panel or a custom control, but, I was wondering if there was any other way to collectively associate multiple controls. In the back of my head I am thinking of Access where you can group a second of controls. I know that is mainly for UI, however, I didn't know if there was an OOP approach to the same thing in terms of exposing properties or not.
View 2 Replies
Oct 23, 2010
Very new to VS2010
I've got data in a DetailsView control which shows the data and expands the rows to suit the content.
However, when I click to edit the information, the editing area changes to just a few characters wide.
How do I change the size of the editing area to match the view data state?
View 2 Replies
Jun 7, 2010
I've been worked with web services so far, and I'm interested in expanding my services to console applications as well so I started digging up with WCF but I'm conserned that I won't be able to use the HttpContext collection that I've been used to do with web services one important thing which is to generate a random value from HttpContext.Current.Request.ServerVariables["ALL_HTTP"] that I need to reckon if it's the same or at least near what machine that is calling my service. How can I overcome this problem?
I need to know what machine is calling to count the number of attempts to login into my system for example. So must do it inside of the svc code otherwise if I let the client inform what ip address or what computer he is using, anyone could forge this argument and surpass by another machine. May be I'm approaching this matter wrongly. And I should count the number of attempts per state session, but how is it done?
View 1 Replies
May 15, 2010
i have to do some message exchange with a 3rd party (in a website).When the client posts a page, i start the message exchange. When that doesn't succeed for some reason, i report this to the client by rendering the page with a message.On the background, in a separate thread, i start a process to send abort messages to the 3rd party. I can't do this while the user is waiting for the page to come back, because it might take a few minutes.But in a test project, the test ends when the message to the 3rd party is sent, and after the new thread is started. But it seems that the new thread also ends, when the test is done.
Is that normal behaviour?I do start the thread in a new class with a reference to 2 objects from the class which tries to send the message in the first place, may that be a problem?EDIT: it keeps running when the whole process is started in IIS
View 1 Replies
Apr 1, 2011
I have a question regarding a situation that occurs with GridView, ObjectDataSource in ASP .NET application. The GridView is linked to the ObjectDataSource and both are included within an UpdatePanel letting the GridView to fill in an asynchronous way from a form in the same page so it gets more rows as the user enters the data:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:BoundField DataField="Name" HeaderText="Name" ReadOnly="True"
SortExpression="Name" />
<asp:BoundField DataField="Periodicty" HeaderText="Periodicty" ReadOnly="True"
SortExpression="Periodicty" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="GetSessionNames" TypeName="Simulation"></asp:ObjectDataSource>
<asp:Label ID="Label27" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="NewWebSessionButton" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
I start the project with Visual Studio 2008, fill the form and it works correctly. Then I stop the execution: rerun again and the data I entered in the previous run is in the GridView. Is like some sort of cache saved the data from the session before. I checked that EnableCaching property is set to false for the ObjectDataSource. If I Rebuild Web Site in Visual Studio (not just Build) then it works corretly leaving the GridView empty. Is this caused just becuase of Visual Studio? Can it be turned off? And will it happen in the final IIS it will run on?
View 1 Replies
May 25, 2010
I want to build a survey system where you can build a form with questions and some answers to these questions and then members who will log in will be able to take the test.
Then i want to present the different results from the test in some diagram or something like that.
View 5 Replies
Apr 22, 2010
Our corporate intranet is designed so that each web application is a child application in the primary application.. Everything has worked fine with Visual Studio 2008 and even in 2010 running the website locally works great, the output directory for the child apps is ..in and the ProjectName.dll copies to that directory.. When I do a publish however it does not and I have to manually copy the dll from the bin folder in the project folder to the parent bin folder, this isn't hard of course but more of a pain in the butt each time I need to publish something. I made sure the output directory is correct for both debug and release yet on publish is just copies it to the child bin and not the parent bin as needed.
View 2 Replies
Mar 11, 2010
It may be obvious to everyone. I am learning this: what is difference between build solution and build website
View 2 Replies