Welcome to the CodeSmith Community!
Join
Sign in
Search Options
Search Everything
Search CodeSmith Community
Home
Home
Store
Blogs
Forums
Gallery
Help
More ...
Home
»
CodeSmith Community
Blogs
CodeSmith Community
A description has not yet been added to this group.
Get this RSS feed
Home
Blogs
Tags
.NET
.netTiers
ASP.NET
CodeSmith
CodeSmith Generator 6.0
Community Server
CSLA
Data Access Layer
Entity Framework
EntitySpaces
how-to
Job
Kinetic Framework
Linq-To-SQL
MVC
PLINQO
Stored Procedure
Success Stories
Team Blog
Tips & Tricks
Tool Box
Tricks
T-SQL
User Group
Visual Studio
Blog - Browse Blogs
Blog
External
Tom Dupont
Video Tutorials
Blake Niemyjski
Eric J. Smith
Next >
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
External
For AuditLog saved to PLinqO increase database
Posted
05-05-2011
by
Blake Niemyjski
For AuditLog saved to the database PLinqO increase, this is a very simple can achieve 1. Built a log tables CREATE TABLE [dbo].[AuditLog]( [ID] [bigint] IDENTITY(1,1) NOT NULL, [AuditLog] [xml] NOT NULL, CONSTRAINT [PK_AuditLog] PRIMARY KEY CLUSTERED ( [ID] ASC ) 2. In the xxxDataContext. Cs documents generated with a method partial void AfterSubmitChanges() { this.ExecuteCommand("Insert into AuditLog values(‘" + this.LastAudit.ToXml() + "’)"); }
Tom Dupont
CodeSmith 2011 User Group Tour Update!
Posted
04-28-2011
by
tdupont
8
Comments
The Arkansas leg of the tour went really well. Hey, rest of the US: Arkansas has an amazing .NET community! I don't know what's better, their top notch developers or their gorgeous scenic byways? Either way, I am officially a huge fan of Arkansas...
External
NetTiers/CodeSmith - Code
Posted
04-27-2011
by
Blake Niemyjski
Below are some example queries I've thrown together from auto-generated NetTiers objects (eg, ExamUsers/ExamFaculty). You can learn more about the services layer of NetTiers at http://nettiers.com/ComponentLayer.ashx#_Service_API_Example:_3 protected void Page_Load(object sender, EventArgs e) { //get all grid.DataSource = getAll(); grid.DataBind(); } /// /// gets all exam requests and returns a tlist (works with Types that implement IEntity) /// for every table in your database, an entity will be generated...
External
Implementing Simple Cache for CodeSmith and NetTiers (ASP.NET 2.0) | PeterKellner.net
Posted
04-15-2011
by
Blake Niemyjski
In this article, I will show a simple way to implement Cache for a GetData type call in the SqlClient layer of the generated code. I won’t go through all the details of getting to this point but will show the code and briefly explain how it works. I’m new to CodeSmith so I’m sure there is a better way to solve this problem, but for now, this is one technique that works. Just to give a lay of the land, my project is called peterkellnerblog and it has several subprojects that each create their own dll’s. They...
Tom Dupont
Two Important Questions about PLINQO EF
Posted
04-12-2011
by
tdupont
2
Comments
The .NET community is the best development community ever. How do I know that? Because they ask the best questions! Here are two really important questions that we have been asked concerning PLINQO for Entity Framework that I wanted to call some extra...
External
Boost Your Coding Productivity
Posted
04-08-2011
by
Blake Niemyjski
Using templates is a great way to improve your productivity in coding APS.NET and .NET applications. Michael K. Campbell talks about tools for making coding more productive by using templates.
Tom Dupont
Winter Retrospective
Posted
04-06-2011
by
tdupont
0
Comments
It has been spring now for a few weeks, and while the weather in my home state of Texas still seems to be confused about this, I am just happy to finally have the sun set after the work day ends! With the changing of the seasons also comes (for us) the...
External
How to Start a Small Business
Posted
03-23-2011
by
ejsmith
How to Choose the Right Legal Structure S Corp, C Corp, or LLC? Whether you are starting a business or you already run one but are having second thoughts about its legal structure , you need to take this matter seriously. Writing a Business Plan, Section by Section Are you starting a business? Advice for small businesses on what it takes to create a solid business plan, including forming an outline, forecasting credible financial information, and establishing a marketing strategy. How to Pitch Angel Investors...
Eric J. Smith
CodeSmith Generator 6.0–Status and IntelliSense
Posted
03-23-2011
by
ejsmith
1
Comments
Work on Generator 6.0 is progressing pretty nicely. We are code complete on our new parser, new compiler, new caching mechanism, out of process template execution, and WPF based property grid. There is a lot to talk about there, but I have also started...
Tom Dupont
OAuth 2.0 for MVC, Two Legged Implementation
Posted
03-18-2011
by
tdupont
13
Comments
OAuth 1.0 was one complicated beast. The OAuth 2.0 spec greatly simplified things, but that also had the wonderful side effect of rending all of our old OAuth 1.0 code obsolete. They say that "the only thing a pioneer gets is an arrow in the back...
Page 3 of 42 (414 items)
1
2
3
4
5
»