Installation :: Testing A Cloud Application Locally?

Nov 26, 2010

I am currently building a web application that will involve many servers to get it to run efficiently. I am trying to test this web site at home and I have a few computers running the website. To connect to the website I would type this into the address bar http://192.168.0.200:8080 or I would typehttp://192.168.0.201:8080. However when I transfer my site from one computer to another the web browser can no longer read the cookies. I would like to set up a home DNS server and have the computers in my house access the site like this w1.MySite.com and w2.MySite.com instead of http://192.168.0.200:8080 or I would type http://192.168.0.201:8080 so I can test if my cookies are working accross subdomains. how to set up a local DNS server so I can do this?

View 3 Replies


Similar Messages:

Multiple Browser Testing / Test Web Application Locally In Multiple Browsers With Various Versions?

Jan 19, 2011

My requirement/concern is to test web application locally in multiple browsers with various versions.

If any tool is available, please let me know..

View 4 Replies

MVC :: Testing A Worker Role Locally?

Jul 6, 2010

I'm writing a worker role to handle a custom built email queue. Before I get to the tricky stuff, I'm having a wee problem - I can't test my worker role locally or see any console output or anything.I'm new to ASP.NET MVC (Having shifted from Rails/Django) so I'm not entirely sure if it's even possible to run a worker role locally, or what the case may be?

View 1 Replies

Visual Studio 2008 - How To Save Time When Testing / Debugging Locally

Nov 4, 2010

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.

View 3 Replies

Way To Move A .NET Application To The Cloud

May 24, 2010

I am new to cloud computing, so please bear with me here. I have an existing ASP.NET application with SQL Server 2008 hosted on a Virtual Private Server. Here's what it briefly does:The front end accepts user's requests and adds them to a DB tableA Windows Service running in the background picks up the request, processes it and sets a flag.The Windows Services also creates a file for the user to download

View 1 Replies

Configuration :: Unable To Connect To Cloud After Hosting Application On IIS?

Dec 16, 2010

Normally my application is working fine.After I host my asp application on IIS I get an exception "internal error", when I try to execute the below lines of code.

where CertificatePath = C:inetpubwwwroot......

X509Certificate2 cert = new X509Certificate2(CertificatePath, CertificatePassword);
var serviceManagment = ServiceManagementHelper.CreateServiceManagementChannel(EndpointConfigurationName, cert); var listServices = serviceManagment.ListHostedServices(SubscriptionId);

I suppose the application is not able to read the IIS certificate.I am trying to connect to windows azure cloud for which the certificate is required to get list of hosted services from cloud.

Stack trace -

StackTrace = " at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromFile(String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, Safe...

View 2 Replies

#SEQ Keyword - Charting Control With Multiple Azure Cloud Application Instances

Feb 27, 2010

I am having a simple Azure cloud app(WebRole=ASP.Net MVC) which draws charts using ASP.Net Charting control. Chart RenderType = ImageMap Chart ImageLocation = "/Images/Chart_#SEQ(1000,1)" Number of app instances deployed on Windows Azure = 5 App contains a button which draws charts as per users parameters. When user clicks on this button, MVC action is called which provides necessary ViewData for drawing chart and returns a partial view which after getting rendered sends ImageMap and Image location to client.

When I try to draw charts from IE8 I always get the charts as per my parameters but when I simulataneously try to draw charts on FireFox sometimes I get wrong charts(wrong images). Is is due to roundrobin used - #SEQ(1000,1) or due to mutiple instances of my cloud app?

View 1 Replies

How To Run C# Web Application Locally

Mar 4, 2011

For a web application I am using ASP.NET C# (OS- Windows7, .NET 4) and the task has done. But I don't know how to run it locally in Windows7 as well as in Server 2008(.NET 4 and IIS installed in server 2008). And I have to run it in both the platfrom.

View 3 Replies

How To Host The Web Application On IIS 7.0 So That 100 People Can Be Accessed Locally

Feb 11, 2010

How to Host the Web Application on IIS 7.0 so that 100 people can be accessed locally.

Request you to provide steps on how to go ahead with it.

View 6 Replies

Get Application Root From Request Object That Works Locally And Remotely?

Mar 15, 2011

Let's say that I have my ASP.NET web application in a directory called "MyApp" both locally and on a remote server. I'm trying to build an onclick response to a link. The response calls a Javascript function, passing it the URL of an .aspx page in my web app. The Javascript pops out a new window displaying the page. My C# code looks like this:

link = new HyperLink();
link.Text = product_num_str;
link.NavigateUrl = "#";[code]....

I started using the Request's Authority property because I was having problems running locally on the Visual Studio web server when I used the Host property. The problem was that Host only returned "localhost" instead of the host and port number. When tested locally, the code works because the "authority" maps to my app root folder. The URL generated is, e.g.,

http://localhost:52071/ProductInfo.aspx?_num=123

If I run on a remote server, however, I end up with something like: http://company-server/ProductInfo.aspx?_num=123

This fails to find the page, because in this case the "MyApp" root folder must be included.There is probably an easier way - putting an entry in the web.config or something. My motivation originally was to allow the app to be published to a folder of any name and work as is. I could hack my approach and search the string for "localhost" or something, but that's ugly. So how do I build a string that will work everywhere?

View 1 Replies

Security ::remote On To The Server And Run The Application Locally LOGON_USER Filled?

Feb 3, 2010

A site that utilizes Windows Authentication.It accesses the LOGON_USER variable to pull the domain and user.It works fine in the development environment.It works fine on one of my servers.We are in the process of setting up a new server for this application to be hosted on.When I setup the new server,the LOGON_USER is always empty for remote computers.Windows Auth is turned on.I have tried it with Anonymous Access on (how the current server is setup) and also off.If I remote on to the server and run the application locally,LOGON_USER is filled.When I access the site via IE from a remote machine,it prompts three times and then fails.Even if I key in credentials in the Windows prompt.nothing

View 6 Replies

How To Implement Unit Testing For A .Net Web Application

Sep 3, 2010

I want to imlement the Unit Testing in my asp.net web application.How to identify the scope of this. I mean, How should i start on this front.

View 2 Replies

Application Performance And Stress Testing?

Jul 29, 2010

I want to test asp.net application for stress, load and performance. Please guide me what free tools should be used for this ? Is there any tool which particularly can be used to analyse individual components, functions and scripts and resources they use ?

View 2 Replies

Web Forms :: How To Do Automation Testing For Application

Jun 8, 2012

i have made a project in c# and i want to do automation testing for it.

View 1 Replies

Sql Server - A Book On Load-testing An .NET Application

Feb 12, 2010

I need a book to recommend strategies for load-testing an ASP.NET application with SQL Server backend.Some info that may be useful:how to write a load test planwhat perfmon counters to use andtypical threshold valuesfinding bottleneck various load testing tools

View 2 Replies

Good Techniques For Load Testing A Web Application

Jun 30, 2010

I am trying to load test a web application, but I am having a hard time finding good tools that are affordable. I cam across Web Performance Load Testing Tool which is pretty cool, but limits you to 10 users and after that it costs thousands. any good techniques for load testing a web application?

View 5 Replies

State Management :: Got .net Web Application And Testing The Pages?

Nov 28, 2010

Ive got an ASP.net web application and was testing the pages.At the moment I store a variable in the

System.Web.HttpContext.Current.Session[

say the user is authenticated when they have been verified on login.So if the login is successful the authenticated is set to true.This is checked on every page load to make sure they have logged in.What I did was to log in and then the Main Menu page is displayed.I copied the address of this, set the page to goggle's page then pasted the address back into the address bar and the page loaded back up.How can I stop this from happening?Should have some mechanisim to prevent this?If so how.

View 2 Replies

Visual Studio :: Unit Testing Tool For Web Application?

Aug 26, 2010

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.

View 1 Replies

Visual Studio :: Application Testing At Developing Stage?

Mar 22, 2010

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.

View 2 Replies

Architecture :: Unit Testing - Testing Private Methods Using PrivateObject?

Feb 23, 2011

Recently for a class to implement unit test for one of its private methods I used PrivateObject by creating private accessor instead of refelection, to which i received a code review comment as below

"My main concern with Private Object is the use of object[] in constructor. It replaces strong typing enforced by compiler with JavaScript-style run-time error detection.Consequently , personally, I would not recommend it."

Comments above confused me beacuse as per my understanding reflection also needs the object[] to invoke any method.

View 2 Replies

How To Integration Testing On Application Without Necessarily Running All The Tests Via The Browser

Jun 4, 2010

ASP.Net MVC - How should i do integration testing on an ASP.net MVC application without necessarily running all the tests via the browser?

View 1 Replies

Web Testing Software - TFS And Visual Studio Testing Tool.

Jan 18, 2011

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.

View 2 Replies

Web Forms :: Adding Controls To Master Page To Manage Application Testing?

Aug 31, 2010

I have Web Application which uses the Logged In User (Authenticated User) to query his Profile Data from Adabas/Unix using OLEDB. The application provides the user with about 21 different pages (Basic Info, Employment Info, Education, Dependants, Financial Info ...).

The web application has a master page, and each profile data page is based on a User Control loaded in the Child ASPX Page.

The Data Layer of this Web Application will have to undergo major modification, since we are migrating our legacy applications from Adabas/Unix to SAP, the development Team has prepared web services to query for the same Profile Data from SAP using Web Services. Now, we have to modify the web application to consume the web services instead of using OLEDB to query Adabas.

Since we are in the testing phase, and we have only very limited data in SAP, I have to provide temporary control to allow test query the Staff Profile for a Specified User (instead of the Authenticated User) and to select the Source:

1. SAP, or

2. Adabas.


So I am thinking to add the following "Control Section" in the Master Page:

[Code]....

See image below to clarify:

[URL]

Becuase the users defined in SAP are based on Dummy Data, so we want to allow the user to Enter the required SAP User, and he will select "SAP" from the Drop-Down-List. In this case, the program will query for Staff Profile Data from SAP for the specified "Staff ID" (txtSAPStaffID) instead of the Authenticated User. But, if "Adabas" is selected for the "ddlDataSource" then, it will default to the Authenticated User.

I noticed that when I am following the above technique, if I press "Go", the Staff Profile Data Page is disappeared, and when I navigate from page to another, the selection on the values entered in the "Control Section" in the master page are reset to default value, ie, the last values are not maintained.

Questions:

1. What is your feedback on the method I followed above ? Any other recommendations? I need very simple method.

2. Why the data page (the child page of the master page) is cleared (disappears) when I press the Go button ?

3. How to maintain the values selected when I navigate from one page to another ?

View 3 Replies

Integration Testing Web Services Against A Testing Database?

Oct 27, 2010

I'm currently building a .net web application that uses WCF web services to allow a Flex front end to access the database.

I'm in the process of setting up some unit/integration style testing on the web services and am trying to work out the best way to allow the tests to access and modify data in a separate test database.

Currently, the connection string in my unit test project points to my testing database, and the connection string in my web services project points to my development database. However, as I am using Linq it appears that when I call the web service methods from my test class, it uses the development database connection string. I have looked into creating mock objects or in-memory database but I believe the same issue would occur.

Is there a way to get this to work, or is my entire idea about what I want incorrect, in which case is there a better way to set this up?

View 3 Replies

Installation :: Running 4.0 Application On IIS 5.1?

Sep 19, 2010

I created a simple .NET 4.0 WebSite through VisualStudio 2010 using the Installed Template for ASP.NET Web Site.This brought me to "Choose Location" where I chose Local IIS, then Create New Web Application.This created the template app with all of the local files within IIS.This complies fine, but Im constantly getting the HTTP 403 Error "the website declined to show this webpage"I checked IIS properties for this and its set to 4.0 and the Directory Security has Anonymous Access enabled. Allow IIS to control password is also checked.I just installed VS 2010 on my new computer, and Im trying to get this configured so I can run 4.0 apps through IIS.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved