Configuration :: Make A Web Application Ready For Distrubution?
May 19, 2010i want to know what is the steps to do when distrubuting an web application for web Hosting.
View 3 Repliesi want to know what is the steps to do when distrubuting an web application for web Hosting.
View 3 RepliesI made a simple network tool using Visual Studio 2010 Express, ASP.NET C#.
When I finished, I deployed it to a Local IIS 5.1 Server. I'm running XP(BTW).
The situation right now is that every time I add/change something to suit my needs, it changes it directly on the server - which is obviously unwanted. I want to understand why this is and how to change it. I don't want every test I do to be implemented directly on save.
ps.
On Project->Properties, Web tab. I verified that under the "Servers" option, "Visual Studio Development Server" in checked and not "Local IIS Web Server"
I want to make a set up project which would install, .net framework, sql server 2008, configure my website in IIS.
View 2 RepliesI want to create a business object from the console application for use with a control. here is my console application:
[Code]....
I want to make a deployment package for my asp.net 3.5 application. Actually i have to send this to my client who would run this application on his intranet. I tried setup n deployment package type project and it created .msi file.while installing this it create all the files which are lying in the project application. But i want to send all the files in complied format only not directly code files.
How could i convert the aspx.cs files into nonreadable complied files..
How to make a configuration page using c# asp? Want to read from the webconfig file and edit.
View 5 RepliesIs there any risk associated by using asp.net mvc 2 on production or stick to the asp.net mvc 1.
View 4 RepliesWe are going develop a web application using asp.net. This applicaton is going to server 50 users per day and 40 users concurrently. As the user count is less, we are planning to have two webservers clustered under a webfarm. We are planning to go for a Sticky Session. Netscaler is the load balancing and reverse proxy we are using at hardware level to route to the same webserver till the end of the client session.
1. Do I need to implement any handler at asp.net level to route the session or to provide browser cookie details of session to NetScaler? If so, what should be implemented in detail. Any sample code will also be helpful.
2. I need to maintain a big chunk of object information in session. Does a webserver can handle it?
3. At the hardware level how ReverseProxy works to navigate it to the same webserver? I want conceptual details of it from a web application end.
I am trying to create a page where I can attach sticky notes at runtime exactly as explained in this tutorial.
I have converted the sample in ASP.NET MVC 2 (which is the technology I am using) and everything works fine.
So I have a DIV in my view
[code]....
Of course I could change my view to create dinamically the notes div on DOM ready but before going to change all the code I was wondering if i can have some code to make them respect the positions they have meant to be to.
Apologies if this seems obvious, but after a week searching I can't find a clear answer to my problem.
I have developed an application in Visual Web Developer 2010 Express that uses the asp.net application services membership provider. It works well in development on my machine (data in the ASPNETDB.MDF database).
I packaged my application and deployed the relevant files with FTP to my shared hosting provider.
I took a copy of the ASPNETDB.MDF and restored it to the SQL Server 2008 on my shared hosting. I can connect to this through the Database Explorer in Visual Web Developer, but it doesn't contain any schema or data.
I know once I have the database in production I will have to make sure the connection string in web.config is poiting to it, but I don't know how to get the DB to production in the first place.
I just spent the last week and a half working on a gridview for a user and now he says he wants it so that all the records are updatable! He doesn't want to click on the Edit button, he just wants everything open for update. Is this possible? Or would anther control do it?
View 3 Repliesi have my own cloude server. with iis7(OS:window server 2008) . i want to deploy my webApplication on that can u tell me best configuration of iis7 and webconfig file for my application.
View 3 RepliesWe have lot of application parameters for each module in a C# .NET 4 ASP website. parameter examples: timeouts, formulae constants, thread limits per module, $ charges per usage etc. What is best out of following approaches we know: Use DB config table Use an xml. load that xml into local cache on start (and on xml change) simple constants.cs file with public const int XYZ = 123; type of key-value pairs. web.config (though i think its mostly for deployment type of config)
View 7 RepliesI have a web.config file defined in my asp.net web application. I have many different settings configured there. I have another project, this time a console application. I'd like to read several configurations from my web.config file. How can this be done?
View 1 RepliesI have an application which has a website and a project. The project contains an executable file which I'm trying to run as a process from the website's Global.asax file's application_start(). When I run this application from localhost, everything runs smoothly but when I deploy the application on IIS, application_start's code is executed and I can see the process name in the taskmanager but I cannot see the window which the console application normally starts in (when i run the application on localhost) and neither is the code executed.
Here's what I'm doing:
-- copied website and project in wwwroot
-- made a virtual directory of the website
-- when i run the website, I see the process in taskmanager but the code is not executed.
I am new to deployment and IIS, and would really appreciate I someone could tell me what i'm missing
Ok what i want to know is what is the accurate method to use aspnet_regiis.exe when you are ready to start you app in the IIS.
What i have done but only tested locally is use this suntax:
aspnet_regiis -pef "connectionStrings" "d:aspdirmysite"
As i see lot of switches in aspnet_regiis (p.e. i have seen something like:
aspnet_regiis -pe "connectionStrings" -app "/SampleApplication"), i'm not sure what is the accurate one or if they deliver the same result.
The -pef i presume is when your app is on your hard drive.Will it play when on the IIS? Anyway what is the common way to encrypt.
a have two aspx pages page1.aspx and page2.aspx. i have an href in page1.aspx <a id="GoHref" href="page2.aspx"> i want that when users click docHref to be redirected to page2.aspx and download a doc file via an automatic click on <a id="DocHref" runat="server">
page2.load is as below:
[code]......
But it doesn't work !
is this a good way to download a doc file ? Or there a better server side way?
I have this below alert set on Document.Ready function. But this alert is not seen when I user Firefox. the alert is seen in IE7
$(document).ready(function() {//hide err messages
alert('you are here');
});
I want to use jQuery in my ASP.NET 3.5 website that uses master pages and content pages. How do I do document ready() functions for the child pages for those that will use jQuery ? Where do I put the code?I figured the jQuery declarations should go in the master page, but don't know how to make sure any jQuery calls go into the HEAD of the resolved page.
View 3 RepliesPreviously, I've only used Microsoft-centric solutions, but for an upcoming ASP.Net project I'm considering using Mono and hosting it on a Linux Amazon EC2 instance. Based on the responses to my previous question, this sounds doable. However, I'm most comfortable with VB.Net and I'm wondering how well Mono supports it.
Does anyone have first-hand experience writing ASP.Net applications for Mono using VB.Net? If so, I'd like to know how it went, what kind of compatibility issues you ran into, and if you consider Mono's VB.Net support ready for use on a production site? I know Mono's C#.Net support is very good, so that's my fall-back plan, but I'd really prefer to use VB.Net.
I have written a code to write some information to text file and save this file on disk. However i have harcoded the path on which to save the file. I am getting System.IO.IOException: The device is not ready. error Is it because of that hardcoded the path. How to get path to folder on server?? On my local machine I am giving path "D:/telephone_management/AMS/files/" and within files folder i m saving my text files On server machine, the drvive is E, so path is wrong. Is there any way I can dynamically get path to my files folder on server ??
View 1 RepliesIs it mandatory to write $(document).ready(function () {... }) every time ?
Can't we do it without this line?
The problem is to render huge reports. Basically we have lots of data that get rendered in html reports (mostly using repeater or gridview). As it so happens, the data started out small and now we have tons of it. There are lots of such reports already built so total rewrite is not an option. Heck, the business is not even letting us page the data. Now server memory is shooting up each time we try to render some reports. So the question is - is there some way we can bind data to repeater and have it stream html to browser as and when chunks are ready? That way we hope to not bring all that data into app server at once. I'm thinking we'll use a datareader or something to get parts of data and render it to browser.
View 3 RepliesI have a website in asp.net4.0 with database in sqlexpress 2008 and host it On server with DotNetPanel.but I get error 500 when i try to view it.the problem is my web.config surely.but i can't find the mistake,thus I set custom error to off.but yet iI couldn't found the problem.the bold texts represents the codes that i have added to text.my site don't haveany security or don't use the roles and other.
<?xml version="1.0"?>
<!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration>
<connectionStrings>
<add name="connection" connectionString="Server=serverAddress;Database=DBname;Uid=username;Password=password;" />
<add name="ConnectionString" connectionString="Server=serverAddress;Database=DBname;Uid=username;Password=password;" /> </connectionStrings>
<system.web>
[code]...
I have a single project website and I would like to create different versions of it to be hosted on different web servers. I do not know if I need to have different versions of the web pages placed in different projects within a single solution or if I need to put different versions in a single project within multiple solutions. I need to be able to build and publish each version separately as an independent website for uploading into a different server. What should I do?
View 4 Replies