.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Where to store file locations in 3-Tier Architecture Website?

Posted By:      Posted Date: October 11, 2010    Points: 0   Category :ASP.Net
 

In my website I have reference to some file locations as follows:-
string Path = Server.MapPath(".\\HelpFiles\\FileDirectory\\");
        string Path1 = Server.MapPath(".\\HelpFiles\\FileDirectory\\File1.xml");
        string Path2 = Server.MapPath(".\\HelpFiles\\FileDirectory\\File2.xml");       
        string Path3 = Server.MapPath(".\\HelpFiles\\FileDirectory\\File3.xls");
At present I have stored these locations in the Defau


View Complete Post


More Related Resource Links

Three Tier Architecture with ASP.NET

  
ASP.NET supports layered architecture, and this article will illustrate how it can work with the ASP.NET presentation controls. This article focuses mainly on the GridView control, mostly because it is prevalently used in .NET development. However, the concepts work for other controls as well.

3-tier architecture in C# sample

  
This article discusses and implements 3-tier architecture using C# and a dummy customer using MS Access database. In this article I am trying to implement a small reusable component that maintains customers in 3-tier architecture. It shows how to add, update and find customer details.

Three Tier Architecture with ASP.NET

  
In my previous two articles, we talked about the use of layers, and the many different options that can be used to develop layered architecture. Layered architectures are essentially objects and work in object-oriented environments, such as ASP.NET. ASP.NET supports layered architecture, and this article will illustrate how it can work with the ASP.NET presentation controls. This article focuses mainly on the GridView control, mostly because it is prevalently used in .NET development. However, the concepts work for other controls as well.

Three Tier Architecture in ASP.NET

  
These layers are described below.

1. Application layer or Business layer
2. Business layer
a. Property layer(Sub layer of business layer)
3. data layer

Advantages of three Tier Architecture.

3-tier architecture in C#

  
This article discusses and implements 3-tier architecture using C# and a dummy customer using MS Access database. In this article I am trying to implement a small reusable component that maintains customers in 3-tier architecture. It shows how to add, update and find customer details.

Application Architecture: An N-Tier Approach - Part 1

  
Introduction

Free Trial: SQL Backup Pro
Sponsored by Red Gate
Exceptional DBAs make the most of their office hours. That's why they love Red Gate SQL Backup Pro. Its faster, smaller, secure SQL Server backups mean more time spare to accomplish more tasks and professional training. Make time to be an Exceptional DBA. Download it now! »


Free Trial: SQL Toolbelt
Sponsored by Red Gate
The SQL Toolbelt is a set of twelve powerful and intuitive tools that will help you burn through SQL Server chores with astonishing speed and accuracy. Download it now! »


Download: SQL Backup Evaluation Center
Sponsored by Red Gate
Download the T-SQL scripts in the SQL Backup Evaluation Center to compare Red Gate SQL Backup Pro's compressed backups with the size of backups created using native SQL Server. Download it now! »



MARKETPLACE
Autodesk Inventor®
Go Beyond 3D To Digital Prototyping With Autodesk Inventor. Learn How.
Autodesk.com/Beyond-3d
Virtualization Solutions
Optimize, Simplify, & Save Today. Learn About Microsoft Solutions.
www.microsoft.com
Microsoft SQL Server® 2008 - Free Trial
Download the Free 180-day Trial of SQL Server® 2008 Enterprise Edition!
www.Microsoft.com/SQLServer
Hot Careers in Internet Marketing
Get prepared for your new career with online degrees from Full Sail University!
www.FullSail.edu
Microsoft Te

Why isn't my Views/Home/Home.Master file published when I publish my website?

  

Hi All,

I spent the better part of today hunting down an elusive error.  I was getting a message saying that it couldn't find the Index view for the Home controller, and it gave a list of locations it searched, e.g., ~/Views/Home/Index.aspx.  This was really confusing as the file definitely existing and was at ~/Views/Home/Index.aspx, the first place in the list of locations it searched for the view!


What I eventually discovered was that there was a file that did not get published when I used Visual Studio's "Publish" feature (this is on the "Build" menu).  That file was Views/Home/Home.master, and (as you can probably guess) is the master file used by Views/Home/Index.aspx.

Once I copied that file into place manually, it started working.  But I am left wondering--why???  Why does this file not get published?  It's a part of my project, I can see it in the solution explorer, and it's obviously a critical file that's necessary for the MVC app to run.  It has the same permissions as every other file in my project.  So why wouldn't it get copied?  And how can I fix it so it does get copied?

Thanks for any suggestions on this!

  -Josh


Writing codes using three tier architecture.

  

Hello all.

I am a beginner in c#.I heard that writing program with three tier architecture are easy and maintainable.

I just wanted to know with a small example on how to write three tier architecture programs.


Thanks :-)


3 tier architecture in ASP.NET

  

Hi i want to develop an application in asp.net using 3 tier architecture . 

i know that there are three layers

  1. Data layer
  2. Business Layer
    1. Data Access Layer
    2. Business Logic Layer
  3. Presentation Layer

I am confused between Data Access Layer and Business Logic Layer.

In data access layer we develop the property classes and main class function which returns datasets, datatables and data reader to Presentation layer.

what is the use of Business Logic Layer ? what actually we do in Business logic Layer ?? we can pass data directly from data access layer to presentation layer ?? can anyone give any small example to understand ??


Resource File: .NET Architecture Center and .NET Designers

  

Microsoft has recently launched the . NET Architecture Center, a site devoted to business, software, and infrastructure architects who want to understand the Microsoft approach to enterprise software.

MSDN Magazine November 2002


Programmatically delete a .webpart file from wpcatalogs folder from an IIS website

  

We are using a third party wsp in our solution which directly adds the web parts into the web application store rather than the web part gallery(References to them are present in IIS site's wpcatalog directory). We want to remove these web part files so that the users will not be able to add these web parts to pages directly. Or any other modification so that users will not be able to add these directly. Is there a way we can do this programmatically?


asp.net insert into 3 related tables using three tier architecture and typed datasets

  
I am using ASP.NET (C# and sql server express 2005) for my web application project. I have three related tables.I want to do an insert using typed datasets,tableadapters and three tier architecture.I wish to know how to do simultaneous inserts in 3 tables.So i wish to insert a row in first table and get its primary key.Same with the second table.I will use the primary keys of those first two tables to do the insert in the third table.How can i accomplish this using formview control and what methods should i use??Please give me suggestions.thanks in advance for reading this. I really appreciate it.

How to create 3-tier architecture

  
structure of 3-tier architrcture

How to stop or correct Sharepoint 2007 modifying file locations

  

I have a Word document that is located at non-Sharepoint location XYZ. This word document has multiple hyperlinks contained within the body of the document. When I try and load this document to a document library it first changes the XYZ location of the original document to the location where Sharepoint resides. THEN, it modifies ALL of the hyperlinks to a subset of the Sharepoint location. I am at my wits end as to how to stop this from happening.

Example:

Original File location  Z:\Power\Procedures\somedocument.doc

After upload http:\\ap15\power\procedures\somedocument.doc

The ORIGINAL document is basically a Table of Contents that is several pages long and has several hundred links pointing to different file locations embedded within the body.

I am totally baffled as to how to stop this from happening. At some point all of the documents will get moved to the Sharepoint server, but in the interim I just want to link to the old document, in the old location, with the original links such that everyone isn't going crazy that our procedures are missing in action. HELP.


Open a Batch File in Sql Store Procedure

  

Hi


I have to open a batch file automatically in sql. So i have used the below command.

EXECUTE master.dbo.xp_cmdshell 'D:\Databases\batch\123.bat'

Its worked for few times. After that its not working.

One time i have stopped before the process is complete.May be this is the issue.

Now its returns null value.


Can anyone help me how can i open the file in sql.


Thanks & Regards,

Visa.G


how to implement web services in a 3 tier architecture?

  

Hi could any one help me,how to implement web services in a 3 tier architecture and also give a brief idea about how to implement coding as soon as possible.


What is the use of 3-Tier Architecture?

  

I have no idea about 3-Tier Architecture? so please tell me. What is the use of 3-Tier Architecture?


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend