Test Pages With Web Services When Cassini Available?

May 18, 2010

I'm developing a web site in a high-security environment. For example, we use CAC cards to authenticate users over SSL. The site is a mix of VB.NET and C# on .NET 3.5 with some AJAX. The AJAX parts are now calling web services for things like Cascading Drop Down Lists. We've been running VS2008 configured on our local PCs to use IIS instead of the default server (Cassini). However, some security policies were rolled out to the desktops over the weekend and, suddenly, we're not allowed to run IIS on our PCs anymore. I already have some of our IT people trying to appeal for waivers for developers. In the meantime, I need to find a way to keep developing. If I turn off the SSL requirement to the 'secure' part of the application (locally, my PC only) I can serve up some of the pages (using Cassini) when I hit "F5", but pages with web services just bring up "server application unavailable". I need to be able to add some more functions into the existing web services, among other things, so the ability to single-step through the code is still a necessity. I'm sure someone who is limited to using Cassini has found a way to Build/Debug pages in VS2008 when webservices are involved. As it turns out, some links had "HTTPS://" hard-coded in them (I inherited these). Changing the link to "~folderpage.aspx" allowed Cassini to properly serve things up.

View 2 Replies


Similar Messages:

WCF / ASMX :: Simple Code For Test Web Services In 2.0 And 3.5

Jan 25, 2011

I am new to the Web Services. I am learning this one. I am 10th stander. I need a simple code and procedure how to use it in our web site?

View 2 Replies

WCF / ASMX :: Web Services Test - Setting Procedure?

Nov 30, 2010

I want to test my webservice? Is there any procedure.

View 1 Replies

WCF / ASMX :: How To Properly Test SSL Enabled Web Services

Oct 5, 2010

Maybe I am overthinking this a bit but I have a set of SSL enabled third party web services that I want to test. The url for the web service is essentially [URL]

Do I need to have a certificate setup on my test ASPX page to fully encrypt this connection or am I OK. with simply a simple ASPX page, create my objects from the WSDL and have at it?

View 4 Replies

Application Works On Cassini But Not In IIS On Xp?

Sep 8, 2010

App works fine in IIS on Windows 7 on my dev machine. Trying to debug on a client machine running XP and VS2008 and the app works ok running on Cassini, however when I select IIS I am getting a 403 forbidden error. Anonymous access is switched on in ISS. Can anyone help work out why it won't work in IIS?

View 2 Replies

How To Compare IIS & Cassini As Production Servers

Jan 1, 2010

I have an ASP.NET website which is running currently on IIS. Now I want to move that site to run on Cassini.

What are the advantages of Cassini over IIS? What are its disadvantages?

What are your experiences using Cassini as a production web-server?

View 5 Replies

Monitoring Traffic To Cassini On Localhost?

Jul 22, 2010

I'm experiencing some really odd timeout issues when running a ASP.NET 2.0 project on Cassini on localhost, and I don't have enough data to get a clue of what's going on.

Is there a way to monitor localhost traffic to Cassini, either using some specific development tool or a general-purpose monitoring app such as fiddler?

Just to pre-empt some answers I'm already aware of:

Normally I can use the well-known dot-hack for using fiddler to monitor localhost traffic, but with Cassini I get the following error message in the browser:

[Fiddler] Connection to localhost. failed. Exception Text: No connection could be made because the target machine actively refused it ::1:3213

Fiddler also listens to localhost on http://ipv4.fiddler:port, and I can intercept the traffic. But when I do this the timeout issues don't occur!

Edit: Oops. This question had already been asked... Twice.. Didn't come up on search or . The solution found in the second thread is to use the dot-hack with ip-address (http://127.0.0.1.:port/ instead of "localhost". This question may be closed.

View 3 Replies

C# - Is A New Thread In A Visual Studio Test Project Aborted When The Test Ends

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

Using Authentication / Authorization With Cassini Development Server?

Mar 7, 2011

I've just run into one of the problems of using the integrated dev server (Cassini) in VS and would like to see if there are any solutions.We're using asp.net authentication to secure the site. However, Cassini runs in integrated pipeline mode, meaning that requests for all files go through the asp.net isapi. The result of this is that it's securing files that would otherwise not be secured in a production environment (.htm .js .css etc..).

Now I understand that we can run the project on a local IIS instance, but we would like to avoid this if possible. But, because of the problem above, this is looking like the only solution.Does anybody have any ideas about how to get Cassini working with authentication that can be easily moved to a production environment when ready. (I'd also like to avoid having a different development web.config that specifically allows access to these files).

View 2 Replies

Visual Studio :: Cassini Vs IIS Performance Comparison?

Feb 28, 2011

anybody comment on the differences between IIS & Cassini in terms of performance and memory consumption?am using VS 2010 on a Windows XP SP2 developing a silverlight app.My machine has a 3 GB DDR2 RAM but still debugging is a pain and cassini keeps on crashing and I need to restart my machine 3-4times a day which is a considerable loss of productivity.

View 1 Replies

Visual Studio :: Where Are Cassini Server Logs

Mar 20, 2010

I am trying to run a WCF Data Service using the ASP.Net Dev server (aka Cassini). When I hit F5 I get the following message in my browser:

Request Error
The server encountered an error processing the request. See server logs for more details. However, I don't know where Cassini puts its server logs. Does anyone out there know?

View 2 Replies

.net - Cassini (VS WebDev) Executing BeginRequest And EndRequest On Different Threads?

Dec 17, 2010

I'm debugging an ASP.NET MVC 2 application running on .NET 4.0 (Windows 7), currently inside of Cassini, the Visual Studio Debugging Web Server.All was running well, when I suddenly was having exceptions in my Application.EndRequest handler. After investigating into this issue, I found the reason was that Cassini was calling EndRequest on a different thread than BeginRequest (then, a ThreadStatic variable which was set in BeginRequest and used in the EndRequest handler was null, since on this thread, BeginRequest was never called).What could be the reason for Cassini to execute BeginRequest and EndRequest on different threads?I know the reason could be an 'Async' Page directive (see Do ASP.NET Requests always BeginRequest and EndRequest on the same thread? , but I have no 'Async' attribute in my Page directives).

View 1 Replies

Can Launch Cassini Web Server From A Command Line Or Batch File

Dec 28, 2010

Is there anyways to launch Cassini web server from a command line? The exe appears to be in this path, C:Program Files (x86)Common Filesmicrosoft sharedDevServer10.0

View 1 Replies

Web Forms :: How To Find All The Web Services And Windows Services Running On A Server

Feb 4, 2011

How to Find All the Web Services and Windows Services Running on a Server in ASP.Net. I have the server details with me and want to find all the Web services running on it.

View 1 Replies

Configuration :: Deploy Window Services And WCF Services Using Web Package?

Apr 3, 2010

I am using Visual Studio 2010 Release candidate1. I have to deploy my web application which consists of a website, certain window services, certain WCF services and Sql Server 2005 database.I read Vishal Joshi's blog(http://vishaljoshi.blogspot.com/2009/09/overview-post-for-web-deployment-in-vs.html) detaing Web Package in VS2010. I want to know how to deploy window services and WCF services using Web Package. Also, I want to create a web setup (.msi) for deployment instead of Web Package so that the .msi takes care of all the application and database deployment like the web package does.

View 1 Replies

Web Forms :: Button Posts Back But Doesn't Fire Event Only In IIS - Fine In Cassini

Nov 29, 2010

Here's an odd one that I've never seen before. Only on IIS, not in Cassini but in all web browsers I have a button that posts back and the page_load event fires, but the actual button click event doesn't fire. there is no re-writing of the page or anything else happening.

View 4 Replies

Installation :: State Services Not Found In Services.msc?

Jul 20, 2010

I installed vs2010 in my machine and opened solution (of same version copied from other machine).

But getting stateservices error message..Moreover i am unable to find asp.net services in the list of services under serives.msc.

View 2 Replies

Visual Studio :: Coded UI Test In VS 2010 ( Web Application) - How To Create Web Application Test For All

Mar 24, 2010

I am doing Automated coded ui testing in asp.net 2010 for web application. I am testing site and i need to know how can i create the test which will work with all browsers. Right now i created test in IE 8 but its not working in Firefox. So is there any way i can create one test and will work in all browser.

View 2 Replies

Search Text Box Using Web Services & Without Using Web Services In .net?

Mar 4, 2010

I am using HTML controls while using Ajax in my .net project. Now I want to make my text box to be autocomplete. I am fetching a data using a query for the respective typed text but i am not sure how to bind that data to text box and show it the way it is being displayed in google and other famous sites. I would also love to know the way using web services. Which way is more efficient?

View 1 Replies

Visual Studio 2008 - Website Running In IIS - Point The Website To Use Cassini?

Feb 7, 2010

My client gave me this web solution, in it various projects, and the problematic project (for me) is the Web Site.

I've copied the code to test web server (2008) and installed VS 2008 so I could step through the code on the server due to some weirdness.

Anyhow, when I open the solution locally on my personal computer, it runs on Cassini [URL] because I'm not on a server OS. However, when I run the app on the web server, when I hit F5, it runs oh [URL].

When I'm running the code on the server, how do I point the web site to use Cassini?

View 1 Replies

Forms Data Controls :: Datagrid Show Unformatted Data From Database Like Test Want To Show Test?

Mar 3, 2011

i have datagrid , data coming from database but data in database as formated , i want to show data wihotu format

below example:

<B> test </B> data base has this type data

but in grid i want to show test not with format,

i am getting same data from database.

View 2 Replies

Together With WCF RIA Services Or WCF Data Services

Jul 12, 2010

Makes it sense to use ASP.NET applications together with WCF RIA Services or WCF Data Services (to encapsulate the data access layer) ? Or are these technolgies only useful for Silverlight applications.

View 1 Replies

Force A New Start Of "Cassini" When Start Debugging A New Instance Of Web Application?

Feb 25, 2011

In our ASP.NET application we perform some initializations upon the Application Start event.When the application is started in visual Studio 2010 with 'Debug->Start new instance' the ASP.NET Development server does not start new, and my Application's Start event is not fired.My workaround is to manually stop the development server - is there a setting to force this automatically?

View 1 Replies

Web Forms :: VS2010 Master Pages / Everything Shows On The New Pages Except The Jpeg Image Logo?

Sep 5, 2010

i'm developing a site using VS2010 and with my windows vista busniness OS. i used the default VS2010 wizard for new web application to create it. included a folder in the root directory and created new aspx pages to derive from the master page in the root directory of my site. everything shows on the new pages except the jpeg image logo in the master page. But other aspx pages i created in the root directory shows every thing fine.

View 1 Replies

Configuration :: Finding Best Practice For Making Sure That Slow Pages Don't Affect Other Pages?

Aug 31, 2010

Page B - loads slowly and needs to do some CPU-intensive operations on the web server.

I noticed that when someone is loading Page B, then Page A also loads slowly. This is even worse if multiple users are loading Page B at the same time. Page A won't finish loading until Page B is done.

Is there a best practice for making sure that Page A can still load quickly? Maybe a config setting or IIS setting that I need to change from its default? With 2 users loading Page B at the same time, the web server CPU usage only gets to 30% so I suspect it might be something I can tweak with the settings.

View 1 Replies







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