By jbonnie on
Thursday, September 20, 2007 9:58:01 PM
There are a few set-up steps that are required to create a class library and seperate DLL for a SubSonic Data Access Layer. To help avoid these repetitive steps I have created a Visual Studio 2005 project that can be re-used.
Read More »
|
By jbonnie on
Wednesday, September 19, 2007 3:58:32 PM
In addition to generating your Data Access Layer for you, SubSonic comes with some other goodies that make building web applications easier. I was surprised to find that some of these controls work directly against the database schema and do not require the Data Access Layer to be pre generated at all
Read More »
|
By jbonnie on
Tuesday, September 18, 2007 12:27:56 AM
This is the beginning of a series of Blog posts on using SubSonic with DotNetNuke.
SubSonic is perfect to help simplify module development for people starting out with DNN. It is easy to get overwhelmed with the module development tutorials showing the abstract & concrete data providers, controllers, info classes, and stored procedures.
Read More »
|
By jbonnie on
Sunday, September 16, 2007 2:33:38 PM
I had a great time at the Philly Code Camp yesterday. My presentation slide deck is posted on the downloads section of this site. Thanks to those that attended and hope to see some of you in Vegas at dotnetnuke openforce.
Read More »
|
By jbonnie on
Thursday, September 13, 2007 11:20:42 PM
Once again I have to thank Carl Franklin and Richard Campbell of DotNetRocks fame for another amazing DoNet experience. DNR has been advertising the Ultimate Sharepoint weekend for developers which includes:
Read More »
|
By jbonnie on
Saturday, September 01, 2007 11:52:49 PM
There were a few posts about being able to run subsonic without making modification to the applications web.config file.
Rob Conery noted that this could be done, as the subcommander tool does this.
So I pinched some code from there and here is the barebones code to configure a subsconic provider in code.
DataService.Provider = new SqlDataProvider();
DataService.Providers = new DataProviderCollection();
DataProvider provider = DataService.Provider;
System.Collections.Specialized.NameValueCollection config = new System.Collections.Specialized.NameValueCollection();
config.Add("connectionStringName", ConfigurationManager.ConnectionStrings["SiteSqlServer"].ConnectionString);
provider.Initialize("SiteSqlServer", config);
DataService.Provider.DefaultConnectionString =
ConfigurationManager.ConnectionStrings["SiteSqlServer"].ConnectionString;
DataService.Provider.GeneratedNamespace = "JB";
DataService.Providers.Add(provider);
...
Read More »
|
By jbonnie on
Saturday, August 25, 2007 1:42:06 PM
The week long Nothing But Dot Net course at Wenatchee Washington is now over. The impact of this week will stay with me for a while.
Read More »
|
By jbonnie on
Thursday, August 09, 2007 9:26:26 PM
There was a good turn out for Tuesdays talk on DNN and SubSonic. The Stamford based .net user group is doing a great job with the venue and getting the word out.
They also announced that a Code Camp will be held in Stamford at the end of October. At last, I do not need to drive to Boston or Philli.
The Slides are here and the main points of my talk for those that missed it or fell asleep:
DotNetNuke is a solid Web Application framework
The suggested Data Access layers for Modules is overly complicated
Feel free to use your existing Data Access techniques for building DNN modules
Subsonic is an excellent alternative for providing your Data Access Layer for DNN Modules if you are looking for something that provides great productivity
SubSonic provides the Active Record Pattern for your tables and...
Read More »
|
By jbonnie on
Sunday, July 29, 2007 9:10:05 PM
It took me a number of attempts to get DNN runnning in Vista cleanly. Getting the right options installed for IIS7 is not that bad, but setting the right security proved to be harder than I expected and I do not see any blogs on it, so maybe it was a local problem.
Read More »
|
By jbonnie on
Saturday, July 21, 2007 9:54:02 AM
Becoming a better developer is a good theme for me, and I like the idea of looking out 6 months and setting some realistic goals for myself. So here goes:
Read More »
|