How To Host A Web Application
Jan 22, 2011I am looking for a nice article that explains how to host a web application.
View 2 RepliesI am looking for a nice article that explains how to host a web application.
View 2 RepliesI am new to asp.net mvc and don't feel too comfortable to diving 100% into silverlight web application. I done some research and found that asp.net mvc can host silverlight application. That is great new since I want to leverage new technologies.
However, silverlight currently does not support printing and SSRS reporting. My question, can asp.net mvc hosts multiple applications like both silverlight and regular asp.net applications. I can design the asp.net application to handle the reporting and printing.
I had developed the 3 tire Web application, so i need to deploy the application to the customer public server.The public server has the Windows Server 20003 R2, how can i deploy my application
View 1 RepliesI have searched high and low on the internet for clear instructions on how to host an mvc 2 application in IIS but without luck. It seems to be from my research that it is anything but straightforward to do.
Imagine i create a new mvc 2 project in visual studio 2010. I want to host this locally on my own IIS server.
I'm building an ASP.NET MVC application and I'm trying to deploy it on a free host (0000free) which does support ASP.NET. I tried a couple of things, but none of them worked (i.e. I only see the directory structure when I browse to my web site):
Publishing to a local folder and then copying the published files via ftp over to my host (in the public_html directory).
Publishing via ftp to the root folder: ftp.mywebsite.com
Publishing via ftp to the public_html folder: ftp.mywebsite.com/public_html
Usually I would just drop the html files in the public_html folder, but I'm getting the feeling that the deployment process for an MVC application is slightly different. Do I have to modify the Web.config or some other filer? How does one usually deploy an MVC application (on a free host)?
Update:I have learned that the host uses Mono and supports .NET 4.0, but I'm still not able to deploy.
I have Visual Studio 2010 and I used its Publish Feature (i.e. right click on the project name and click publish) and I tried several things:
Publish method: FTP to the root folder.
Publish method: FTP to the publich_html folder.
Publish method: File System to the root folder.
Publish method: File System to the publich_html folder.
Publish method: File System to a local directory on my computer and then FTP to root and also tried the public_html folder.
I went into the cPanel (control panel) to try and see if ASP.NET has to be added/enabled for my web site, but I didn't see anything there.I can't browse to Index.aspx nor can I redirect to it from index.html (as suggested from other posts on the host forum), right now I have a link from index.html to Index.aspx but it's not working either (see http://www.mydevarmy.com)I've also tried renaming Index.aspx to Default.aspx, but that doesn't work either.
The search utility of the forum of the host is somewhat weak, so I use google to search their forum: http://www.google.com/search?q=publish+asp.net+site%3A0000free.com%2Fforum%2F&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
I've been reading Pro ASP.NET MVC Framework and they have a chapter about publishing, but it doesn't provide any specific information with respect to the location of publishing, this is all they say (and it's not very helpful in my case):
Where Should I Put My Application?You can deploy your application to any folder on the server. When IIS first installs, it automatically creates a folder for a web site called Default Web Site at c:Inetpubwwwroot, but you shouldn't feel any obligation to put your application files there. It's very common to host applications on a different physical drive from the operating system (e.g., in e:websites example.com). It's entirely up to you, and may be influenced by concerns such as how you plan to back up the server.
Here is the error I get when I try to view my Index.aspx page:Unrecognized attribute 'targetFramework'. (/home/devarmy/public_html/Web.config line 1)
Description: HTTP 500. Error processing request.
Stack Trace:System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'targetFramework'. (/home/devarmy/public_html/Web.config line 1)
at System.Configuration.ConfigurationElement.DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey) [0x00000] in <filename unknown>:0
I am currently in a dev only phase of development, and am using the VS built-in web server, configured for a fixed port number. I am using the following code, in my MembershipService class, to build an email body with a confirmation link, but obviously this must change when I deploy to our prod host.[URL]How can I build this URL to always reflect the host that the code is running on, e.g. when deployed to prod the URL should be http://our-live-domain.com/Account/..etc.MORE INFO: This URL will is included in an email to a new user busy registering an account, so I cannot use a relative URL.
View 3 RepliesI would like to host a Wcf Service, create in a Wcf service Library, in a Web Application.
I've already done the same thing with Web Service asmx :
using System.Reflection;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
namespace WebServiceLibrary
{
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class WebService1 : WebService, IHttpHandlerFactory
{
private static WebServiceHandlerFactory wshf = new WebServiceHandlerFactory();
private static MethodInfo coreGetHandlerMethod = typeof(WebServiceHandlerFactory).GetMethod("CoreGetHandler", BindingFlags.Instance | BindingFlags.NonPublic);
[Code]....
I running MS-Access desktop application, i would like to host it to web through ASP.Net (Only report purpose). regular data we keying in through desktop. is it possible for host through crystal report?
View 1 RepliesHow 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.
I am designing a dashboard for my own application to serve as a control panel for the end user. I am thinking about using the Dropthings framework or DynamicDashboards which cover all of my internal widgets requirements.
But besides including widgets developed internally by me, I would like for the user to be able to include iGoogle widgets as well.
Is this possible?
What needs to be done in order to host an iGoogle widget?
I have to host an asp.net that user can access that website something like http://111.11.11.11/myapp/homepage.aspx. ( my ip address will be 111.11.11.11). All I have local IIS installed. I want that if any user clicks on the link. He should be able to access that web application.
View 9 Repliesi want my application to provide a web ui for remote access, but i do not host that web page in IIS, because i do not want everyone install IIS on their home PC.
i spend some reading the asp.net pipeline, but still not figure how to load the .aspx file in my code.
Before hosting into server how can i convert into dll to host into server.
View 1 RepliesWhat are the steps followed when we want to purchase our own web server and then host our web applications on it..
View 2 Repliesto host two web applications in single application domain? For example two web applications web1 and web2 being hosted in single application domain.
View 3 RepliesIn my application i have two textboxes txt1 and txt2, and a push button btn1, when the user enters his USERNAME and PASSWORD and press the push button, the application should directly connect to gmail and has to login into his gmail Account....
[code]....
and also for gmail with same code.
but i dont khonw how can i distribute this for my web mail account because i dont khow urls and id and name that must give in the code
ot the following error when click print report button.Application : asp.net 3.5Crystal report : 10.5Host: godadRequired permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
[Code]....
I host my asp.net application with wcf service on IIS 7 and I want that this location could be possible at adress of my computer in lan, that other in network could get to it..
Now it looks like: http://localhost/wcfAx/Service1.svc
How to do like that : http://192.168.2.33/wcfAx/Service1.svc?
I host a local application on my machine which i provide access on network by normally type "http://computername/app". Can I change it to a real web address format "www.myapplication.org" for my local hosting.
View 3 RepliesI wrote a composite web control that is used in several web applications. If I use sessions variables, for example HttpContext.Current.Session("MyProgramMemberId"), do I run the risk that the host site might have also defined that same session key name?
View 2 RepliesI have a single contact.aspx application I want to use on a web host but am confused with the publish feature in VWDE 2010. I can't run any commands or packages and was hoping just to upload the .aspx and .cs files and have jit compile to run them.
Why does VWDE 2010 create a .dll and .pdb in the bin folder of my project? I thought the Express versions of VS didn't produce DLLs? On previous editions of VWDE all I needed to do was copy the .aspx and .aspx.cs pages to the host.
there is broblum for uploading excel sheet when my application runing on local host but there is no problum on vs enviroment . i am using the following connection string code
strConn =
"Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + path +
";Extended Properties=Excel 8.0;"
;
My kind webhost (1and1) royally asked me to go elsewhere to do something like this.
I have 2 sites. One of them was developed by a .Net programmer. Now I am contracted to implement a PHP site and fetch data from the .Net site.
There is an ASP.Net form that a customer fills and when they hit submit, the data gets stored in SQL Server DB. How do I also store the same data in MySQL parallelly? I cannot directly use some database connectors with ASP.Net since MySQL connectivity is not supported on 1and1 Windows hosting (biz account, no less!).
What I thought of is to publish an RSS feed of entries in ASP.Net site and routinely scrape that data into MySQL on Linux host. It is an overkill, I know. Not efficient.
I have one IIS entry with AppPool integrated mode. There are 5 or more host headers assigned. The application pulls data based on the host name from Request.Url.Host. When I have 2 or more sites open at the same time the value of the Request.Url.Host is the same across all the sites. About every 30 seconds it resets itself to the correct value from the last request and shows that value on the other sites. So ultimately the sites are loading the same data. The value in the HOST server variable is incorrect as well.
View 1 RepliesI have a web site running on IIS7 on a remote server. I would like to do the following: Create a new subfolder under the root virtual directory. Create a new app pool. Add this new app pool to the new subfolder Normally, I would do this manually in IIS by first creating the app pool, and then right-clicking the sub folder an choose "add application", but I need to do this programmatically in C#. I've managed to make the above points 1 and 2 work, but I can't find the way to adding the application to the sub folder. This is the code I have used so far for 1 and 2:
[Code]....
So, I need to add "MyAppPool" to the "NytSite" folder. Is this even the correct way to do this?