Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:565432
More Search Options
RSS Available
Matching Posts
Re: Entity Framework? Linq>SQL? Castle? NHibernate? ARGGGGGG
Okay. Here would be my take on building an application with the enterprise production ready tools avaliable today. I would use MVC for the server side front end, why? becuase its clean and has less overhead than asp.net. It pushes my peers into working in a much cleaner manner. Client side I would use jQuery, unless I was building an application leaning more towards data manipluation (i.e. product admin application or a "web 2.0" type application), in which case I would use jQuery + extJS
Posted to
ASP.NET MVC
(Forum)
by
jaimalchohan
on 8/22/2009
Re: Entity Framework? Linq>SQL? Castle? NHibernate? ARGGGGGG
I wrote a long post up, but forgot to sign in ... and lost my post. Anyway, the gist of it was that using extension methods and anaymous delegates I only have to write con.ExecuteTransaction(IsolationLevel.ReadCommitted, delegate() { IDbCommand cmd = manager.CreateCommand("usp_GetSolarSystems", CommandType.StoredProcedure, con); cmd.Parameters.AddWithValue(cmd, "@Region", region); List<SolarSystem> systems = new List<SolarSystem>(); cmd.ExecuteReader(true, delegate
Posted to
ASP.NET MVC
(Forum)
by
jaimalchohan
on 8/21/2009
Managing Multiple Websites
I am currently in the position where I have roughly 20 webservers on my network (and growing) running various websites (currently 10 websites in different states, i.e development, testing, preproduction etc). I wanted a tool that would run from a single location (either scheduled or requirung a manual start ) and 'scan' each webserver I specfiy for running websites and dump this data into either a database. I also wanted specific files on these websites to be pulled into the database (e.g
Posted to
Configuration and Deployment
(Forum)
by
jaimalchohan
on 8/20/2009
Re: Integrated security=true
Your webiste needs to be running under the context on a windows account. IntegratedSecurity="true" basically means "Use a Windows Account to connect to an perform actions up on the database". Thus you will need to ensure the following 1. That your website is deployed on a server that has a windows account that has been given permission to or belong to a Window Group that has been given permission to access Sql Server (in a default installation of SqlServer the Administors Group
Posted to
Getting Started
(Forum)
by
jaimalchohan
on 8/20/2009
Re: Entity Framework? Linq>SQL? Castle? NHibernate? ARGGGGGG
[quote user="AceCorban"] Build your own Data Access Layer : I tried this and discovered errors I'd never heard of. Ended up getting a basic one functional, but Good Lord! Prepare to go bald. Good Article: http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=416 [/quote] God, its really not that hard to build a data access layer. Firstly, forget about ADO.NET, throw away your datatables, your datasets and your table adaptors Step 2, your calls will all follow the same format as below
Posted to
ASP.NET MVC
(Forum)
by
jaimalchohan
on 8/20/2009
Re: Entity Framework? Linq>SQL? Castle? NHibernate? ARGGGGGG
MVC is great and I highly recommend it. Your question eems to be around the ORM tool to use. This is how I see the ORM-scape (like landscape, only ORM) Entity Framework - Heavy weight, the designer is terrible, the syntax is impossible to understand, designed for enterprise use, however I work in an enterprise environment and I would never, ever use it (not even for a small project) Linq-to-SQL - Light(er) weight, designer is okay (but buggy), designed for normal use, I might use it for productivitys
Posted to
ASP.NET MVC
(Forum)
by
jaimalchohan
on 8/20/2009
Re: How can i stope code excution on srver side, when the excution time exceeds 15 minutes?
Chucking it at the BackgroundWorker won't unless you use async pages work as the asp.net page will return to the web client casuing the async background thread to be terminated. Also, the BackgroundWorker is not recommended for long running tasks http://msdn.microsoft.com/msdnmag/issues/05/10/WickedCode/
Posted to
Architecture
(Forum)
by
jaimalchohan
on 4/23/2009
Re: Transactions across multiple pages
You could create a WCF service layer containing methods/services for your asp.net frontend to consume. Using WS binding you can configure your WCF service operations to participate in transactions, which will then allow you to call several services under the context of a single transaction. (see http://www.wrox.com/WileyCDA/Section/Transactions-in-WCF-and-NET.id-305253.html ) Your asp.net frontend would need to open the service client at the start of the transaction, store the service client in session
Posted to
Architecture
(Forum)
by
jaimalchohan
on 4/23/2009
Re: How can i stope code excution on srver side, when the excution time exceeds 15 minutes?
Heres one way to do it 1 public delegate void MyMethodHandler(); 2 3 public static void Execute(MyMethodHandler method) 4 { 5 System.Timers.Timer timer = new System.Timers.Timer(15000); 6 timer.Elapsed += delegate ( object sender, System.Timers.ElapsedEventArgs e) 7 { 8 System.Threading.Thread.CurrentThread.Abort(); 9 }; 10 timer.Start(); 11 12 method.Invoke(); 13 } 14 15 public void MethodToExecuteWrapper() 16 { 17 //Wrapper that will be called 18 Execute(MethodToExecute); 19 } 20 21 public void
Posted to
Architecture
(Forum)
by
jaimalchohan
on 4/23/2009
WCF via ServerXMLHTTP
With an asmx service I can call a method using a simple post like so < % Dim wsurl: wsurl= "http://localhost/WebService/Service1.asmx/HelloWorld" Dim xmlhttp Set xmlhttp=Server.CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST",wsurl,false xmlhttp.send Dim rValue rValue=xmlhttp.responseBody %> How do I do the above for a WCF service thats hosted in IIS? I don;t want to create a COM object or start declaring types, just a simple call with the return as XML
Posted to
XML Web Services
(Forum)
by
jaimalchohan
on 9/22/2008
Page 1 of 3 (23 items) 1
2
3
Next >
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online