Solved

.Net template

Posted on 2014-07-29
3
266 Views
Last Modified: 2014-07-30
I need to start a small new project in Visual Studio 2012. This project only contains some calculation methods for other projects/.net web application to call, as those calculations are very commonly used. There is no UI part at all. There is a very small DB contains only 3 or 4 tables. The project does not update or insert to DB, but just read/select only.

I'm using Visual Studio 2012, C#, .net environment and SQL Server 2008 R2.
1. What Visual Studio project template I should use? C# class library or other template?
2. Since the project only read DB data, how about data access? What should I use?

My first time start a simple project like this, although I have ever worked/maintained on .net Form / MVC project.

Please advise.
0
Comment
Question by:minglelinch
3 Comments
 
LVL 29

Assisted Solution

by:QPR
QPR earned 250 total points
ID: 40228332
If you have no UI then a class library would be fine to hold your commands.
Then you can add this resulting dll as a reference to other projects that need the functionality within the class.
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 250 total points
ID: 40228564
Data access wise you have several options: ADO.Net, Linq-to-sql, Entity Framework - to name a few.

If this is your first project the I would suggest ADO.Net.  ADO.Net still forms the basis for data access for the other technologies mentioned. You'll be better off in the long run if you know how the engine works, rather than just knowing how to drive it.
0
 
LVL 1

Author Closing Comment

by:minglelinch
ID: 40228824
That's what I want. Thanks a lot!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What is Thread.Sleep? 5 46
Runtime Error 2 28
consuming an asmx web service in winforms application 3 24
.NET tools for adding thread safety to a web app? 3 14
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now