I have used MSWC.AdRotator in one of my web site created in ASP.
But as I have moved my application from IIS 6 to IIS 7, that control is not working.
But I want that AdRotator in my application.
So what would be the prefered Alternative for AdRotator
I have replaced this component with the JQuery Rotator.
Related
I am working on URL rewriting using global.asax in asp.net 3.5,
URL:http://localhost:65278/URL_EG2/SubFolder/Home.aspx
I want it to rewrite as:http://localhost:65278/Home
How to acheive this? Can anyone give me simple EG?
I assume you are using ASP.NET web forms.
If you use Routing for Web Forms then you don't need to have extensions on the url. You can have the same routing goodness experienced by the MVC apps in your web forms applicaiton as well.
Check here to learn more about Routing for ASP.NET Web Forms
I have my asp .net website. I have uploaded that. But is shows code of default.aspx page and not the design.
Please help me
Thanks
IIS will by default display the page default.aspx.
You can change this in your IIS settings and change it to pick up another file by default (though it will allow multiple names).
Alternatively, change the filename of your default page to default.aspx.
Other possibilities:
The .NET framework is not installed on the server
The .NET framework is not registered on IIS (in the framework directory run aspnet_regiis)
I have 2 web application projects. One is my asp.net MVC app and the other is for the admin related functions which is asp.net web forms Dynamic Data. My MVC app would be the main site, but I would want the webforms to work under an Admin folder of the MVC site.
While debugging the application, I would like the "/admin/Default.aspx" link on the MVC site to link to the default page within my Dynamic Data site. How do I accomplish this? I know I can test each project independently.
Within the visual studio project, you can right click on a folder and select "Convert to Web Application" which resolved my issue.
The easiest way would be to run them both in separate virtual directories and use Url Rewriting to push requests for the root to the public site. You can nest ASP.NET applications, but that generally requires quite a bit of fussing with the configuration file to dodge inheritance issues.
You could achieve this behavior via your IIS-Manager. Click on the Website, navigate to the folder you want to behave like a separate application and use right-mouse click and press "convert-to-application".
I have an ASP.NET web application where i have a page Signup.aspx and a home page.aspx.In my home page i have link to the signup.aspx page.I want to Hide the file extension.aspx from the addressbar when someone clicks on the signup link in home page.I want to show it as http://mysite.com/signup . Is there anyway to do this ? I am using VS 2008
thanks in advance
If you are using ASP.NET 3.5 ASP.NET Routing could be a good choice for you.
MSDN page: msdn.microsoft.com/en-us/library/cc668201.aspx
Using it with ASP.NET MVC at ScottGu blog: weblogs.asp.net/scottgu/archive/2007/12/03/asp-net-mvc-framework-part-2-url-routing.aspx
Using it with ASP.NET 3.5: www.techbubbles.com/aspnet/aspnet-35-url-routing/
If your website runs under ASP.NET 2.0 Helicon ISAPI Rewrite could be a good choise for you. This is an IIS filter that redirects requests to your pages according to regex-based configuration file. They have a free version for one website.
Have a look at Helicon: www.isapirewrite.com
The simplest way would just be having a folder named "signup" with a default page that redirects to signup.aspx
Another option which does not involve rewriting the URL yourself is using the ASP.NET MVC Framework which will handle that kind of stuff pretty easily.
I have developed one project by using silverlight 2 with asp.net.
I have one silverlight application and two .aspx pages (one for login.aspx and another for registration). I have designed login.aspx using silverlight 2 and I have attached .xap file to my login.aspx.
For registration.aspx. I need to developed one more silverlight app.
My question is; if I have 10 .aspx pages do I need to developed 10 silverlight applications?
Thanks
Ravi kumar
If you are worried about URLs being nicely displayed to users then I would consider ASP.NET MVC or load the same xap from both pages and pass in a parameter to the SL app to tell it whether is should show the login or registration form.
See here for how to pass custom parameters into a SL application from an HTML page: