Architecture :: Want To Create Another Application Or Sub Application?

Aug 25, 2010

I m sure this question has been asked before. I have a web application hosted underhttp://localhost/abc. which is mapped to c:inetputwwwrootabc folder. I have APP_Code, App_LocalResources, BIN and other folders under abc folder. Everything is great. Now I want to create another application or sub application
http://localhost/def. Both abc and def apps need to use some common classes and resources. Whats the best way to do it. I dont need to create a separate application for def. All i want is the url
http://localhost/def.

View 3 Replies


Similar Messages:

Architecture :: Create Rich User Friendly And Look And Feel Application?

Dec 22, 2010

How to create Rich user friendly and look and feel application in ASP.NET. I am going to create the web application but after the development our aim is zero support that's why we desired to develop the application as user friendly and look and feel. what are all the new features in asp.net to develop the application as user friendly and look and feel.

View 6 Replies

DataSource Controls :: Entity Framework And Architecture Of Model - Create Application Using EF

Feb 10, 2010

I can't to understand clearly how to create strong and quickly application using EF. For example, I have class ForumPost (table ForumPost) for select one of record I write method like:

public ForumPost ForumPost(int ForumPostID)
{
return
(from i in _dataContext.ForumPostSet
where i.ForumPostID == ForumPostID select i).First();
}

all works. But on page (I use ASP.NET MVC) I should display info from another linked tables, ForumName (each post have ForumID) etc. So, I modify this method to:

public ForumPost ForumPost(int ForumPostID)
{
return
(from i in _dataContext.ForumPostSet
.Include("ChildPosts").Include("ParentPost").Include("Users").Include("Forums").Include("Tags").Include("ForumPostPolls")
where i.ForumPostID == ForumPostID select i).First();
}

ok, all works. Then I want to make some actions in model with ForumPost, i.e.

public void RootPost(int PostID, ref Models.ForumPost Root)
{
ForumPost post = ForumPost(PostID);
if (post.RootPost != null)
{
Root = ForumPost(post.RootPost.ForumPostID);
}
else
Root = post;
}

it works too. But problem is in speed. I not need in RootPost all those includes. So, I should to create one more method like:

private ForumPost ForumPostIncludes1(int ForumPostID)
{
return
(from i in _dataContext.ForumPostSet
.Include("ChildPosts")
where i.ForumPostID == ForumPostID
select i).First();
}

then ForumPostIncludes2, ForumPostIncludes3 etc... second way - redesign RootPost with LINQ expr, not with call another method. But in this way difficulties to change DB. third way? How to do it correctly?

View 1 Replies

Architecture :: Auto Update Application Like In Wordpress, Application Must Check If New Updates Are Available?

May 3, 2010

I need to auto update application like in wordpress, Application must check if new updates are available, download this updates and install.But I don't know how to install application. Because if some files in bin directory are updated application is restarted.Is it possible to create ASP.NET web application which will be auto updatable?now we have a new technologies, could u please suggest me any kind of soultion for the above problem. here i am enclosing my email idsunnyb4uu@hotmail.com

View 2 Replies

Architecture :: Design An Application To Fetch Data From Different Application Databases

Nov 10, 2010

I need to develop an application, which will get records (orders) from one application and process them. The updates to this records (order updates) will be sent back to the source application for end customer reference. I'm planning to achieve this data synchronization at the database level using triggers and stored procedures to insert database between the 2 databases.

But, the issue is I have to deploy this application in 3 different customer sites and I have to change the database names (cannot use the same database name) in each deployment manually. Because of this deployment issue, I was thinking of handling this within the asp.net application where I can store the db name in the database and then build the query within the application, but I dont want to do it as building queries like that doesnt look very professional.

View 2 Replies

Architecture :: Allow Each User To Create A Webpage On Domain / Virtual Directory Not Being Configured As An Application In IIS

Mar 1, 2010

I want to allow each user to create a webpage on our domain. example: www.site.com/username

I've created a few pages that get content from database and place it in a folder. I want each user to be able to edit their own data and when they hit "submit". the system will then copy those pages to a folder and modify the code so it read from the right database.

I keep getting "virtual directory not being configured as an application in IIS" errors. Is there any way around this error? I want the process to be 100% automatic so that I don't need to manually go into the server and configure the IIS myself.

View 1 Replies

Architecture :: Best Way To Pass A Values From One Application To Another Application?

Dec 8, 2010

Which is the best way to pass a values from one application to another application in asp.net

View 5 Replies

Architecture :: Best Way To Kill Session From One Application To Another Application In C#?

Dec 8, 2010

Which is the best way to kill session from one application to another application in C#

View 5 Replies

Web Forms :: How To Create And Destroy Application Object In Application

Jul 13, 2010

I have to implement broker and dealer socket connection like in share market i.e. it should connect at 9 AM and stop at 3.30 PM and repeat in next morning ...

so following is my requirement

1) i have to create application object once in day at 9 AM and destroyed at particular end day 3.30 PM.

My question is how to destroyed application object at given particular time ... i think this can be done in application_end handler in global.asax ... but my question is when no request is made at that time then what happened..

View 2 Replies

How To Create An IIS Application And Application Pool Using InnoSetup Script

Aug 18, 2010

I'm trying to deploy an ASP.NET application using InnoSetup. I need to perform the following tasks:

Create an IIS application.

Create a new IIS application pool and set it's .NET version to 4.

Set the application pool of the new application to the new application pool.

I have found a script to create a virtual directory, but I need an application and application pool:

procedure CreateIISVirtualDir();
var
IIS, WebSite, WebServer, WebRoot, VDir: Variant;
ErrorCode: Integer;
begin
{ Create the main IIS COM Automation object }[code]......

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

Use MVC Architecture In Web Application?

Nov 2, 2010

I am beginner in MVC architecture, how to use MVC architecture in Web applicaion?

View 2 Replies

How To Create An Email Application That Support Sending And Receive Email Application

Jan 29, 2010

I need to create an email application that support sending and receive email application.

View 1 Replies

Architecture For A Web Application With Sub-Apps?

Jan 17, 2011

I'm starting to plan an architecture for a big web application, and I wanted to get suggestions and/or recommendations on where to begin and which technologies and/or frameworks to use.The application will be an Intranet-based web site using Windows authentication, running on IIS and using SQL Server and ASP.NET. It'll need to be structured as a main/shell application with sub-applications that are "pluggable" based on some configuration settings.

View 3 Replies

Web Application Architecture Using Nhibernate

Dec 10, 2010

I'm designing my first asp.net web app, using nHibernate as the data provider. i've read a lot about nhibernate in web applications using session-per-request pattern. my application will have a few pages which are 'monitors', meaning- they're updated automatically every few seconds to reflect recent changes to data. in that case, my thought is that opening a session for every request would not make much sense, since I know that an identical request is sure to follow in a few seconds. my thought is that session-per-conversation would make more sense for me, but I'm having trouble finding examples of implementations. I'd appreciate any good resources for how to implement session-per-conversation

View 2 Replies

Architecture :: Use Different Database For One Application?

Nov 24, 2010

How to use different database for One Application

View 6 Replies

Architecture :: To Design Application?

Jan 18, 2011

I am very new to application design, how and from where should i start to design application

View 3 Replies

Architecture :: Web Application From Scratch?

Apr 21, 2010

I have to build a web application from scratch(a 4-layer architecture). give me a checklist that are required such as tools, how to create the projects and their references,writing base page classes, how to set up and configure the application in Visual studio(asp.net 2.0 or above versions) ,IIS, database server, source safe and cruise control tools as well as the structure of the project.

View 6 Replies

Architecture :: Going To Develop A Web Based Application With C#?

May 30, 2010

i am going to develop a web based application with c# but i am very upset that how to design a good pattern how to code to let the program more efficient.

View 3 Replies

Architecture :: Transfer Data From One Application To Another

Feb 26, 2010

i am new in asp.net. i have create a website. its related to tours and travels. Now when any customer get login to webportal then the login info of that customer should send to my system i.e. website. here it will check the user is valid or not or new according to that check user's permissions and send the data to the webportal.

then customer can search the specific data and book the some data say 'hotel'. that time the booking information should send to back to the system. so my query is how can i send the information from my system to webportal and vice versa...(can i do it with javascript)

View 4 Replies

Architecture :: Modelling Application Layers?

Jan 26, 2010

I'm trying to create my first Asp.Net application from scratch. Tried to create this post in some of the other forums but I couldn't find a better place.

So, as the title says, I'm having trouble trying to model my application. I'm like an OOP newbie. I'll show my classes first and then I'll write my questions.

Model Layer

public class User
{
private int id;
public int Id { get { return id; } set { id = value; } }
private string login;
public string Login { get { return login; } set { login = value; } }
private string password;
public string Password { get { return password; } set { password = value; } }
}
Data Access Layer
public class BasicDAL
{
private SqlConnection connection;
//>>Returns a new connection to the database
public SqlConnection GetConnection()
{
//>>If connection is active close it before starting a new one
if (connection != null)
if (connecion.State != ConnectionState.Closed)
connection.Close();
connection = new SqlConnection("MyConnectionStringHere");
return connection;
}
}
public class UserDAL : BasicDAL
{
//>>Insert a new user
public void Insert(User user); { /* Insert into DB */ }
//>>Authenticate user login with its password
public void Authenticate(User user); { /* Authentication code here */ }
}
Business Logic Layer

[Code]....

So, model layer is pretty simple. Just a user representation. On the Data Access Layer I have a basic class with a GetConnection method. All DAL classes will extend this one.

My first problem lies on Business Logic Layer. With the above scenario, I've placed the same methods that I placed at the DAL. BLL methods would call DAL. As simple as that but I believe It is not the best way to do it, is it? How can I improve those classes?

Also, I have to "try..catch" blocks. That's because I can't find good places for it. I mean, if I place a try..catch on GetConnection method, for instance, how my ASPX page would get this error? How my ASPX page can tell the difference between "database offline" and "sql syntax error" when executing "userBll.Insert(newUser);".

My problem is mainly placing the exception handlers. I understand I would probably have to change return type of some methods. I didn't change because I believe that will have something with the exception handlers.

Btw, please assume I can't use TableAdapters and stuff like that. I would like to create all layers by myself.

View 3 Replies

Architecture :: How To Develop Web Application With Sub-Apps

Jun 18, 2010

I'm starting to think about and develop an architecture for a big web application, and I wanted to get suggestions and/or recommendations on which technologies and/or frameworks to use.The application will be an Intranet-based web site using Windows authentication, running on IIS and using ASP.NET. It'll need to be structured as a main web application with sub-web applications. Essentially, the entire scope is a composite browser-based,Intranet application that is composed of discrete, functionally complete modules or sub-applications.

View 1 Replies

Architecture :: How To Get Default Namespace Of Application

Mar 11, 2011

Anybody know how to get default namespace of ASP application programatically?

[Code]....

View 3 Replies

Architecture :: .NET Web-Application Architectures / Patterns?

Jul 9, 2010

Does anybody knows good, short and slim tutorials (not here ), which describe actual/modern web-application architectures / patterns (especially for ASP.NET based (classic and MVC) applications (maybe also with embedded Silverlight components) ? How would you you design today an ASP.NET application which uses different datasources (databases, services,...) ? Background: I has been away a couple of years writing web applications, and I want to start now again. So at the moment I am a little bit unsure, how to take off and find the right starting point.

View 3 Replies

Architecture :: Using Windows Service In Web Application?

Sep 10, 2010

I wanna embed the windows service in the web application. I have seen few posts in the web. where they generate separate exe for the windows service and use it as an installable.

The same process i tried doing it but it threw an OS error in my server which is windows 2000 and didnt supported the executable.

However the website of mine runs fine in the same server. Thus i was thinking if i cd embed the same code in the web application.

Also, in my case the website of mine takes job for simulation. These jobs are taken for simulation execution and nearly takes 12hrs for completion and if they are not completed within twelve hours then they are supplied extra twelve hours to complete the simulation jobs.

The simulation executables are a series of executable and bat files.

The results of the simulation gets updated in the tables of MySql and hence are displayed to the user.

View 2 Replies







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