T4 with LLBLGen

Posted on November 8, 2013 by Matt C. in .NET
spacer

In this post, we look at leveraging T4 templates to extend the power of LLBLGen inside of Visual Studio .NET. Writing T4 templates to auto-generate code is almost a norm at this point it seems, it’s built-in to ASP.NET MVC, and used as a first-class tool in most ORMs. So why not use T4 templates to extend the power of LLBLGen as well.

Read More

.net, ado.net, C#, code generation, entity framework, llblgen, odata, orm, servicestack, T4

Theming ServiceStack Razor Views

Posted on June 24, 2013 by Matt C. in .NET, ASP.NET MVC, REST
spacer

In this post, we look at adding theming capabilities to the ServiceStack Razor View engine. Source and live demo are included. This post is third in a series investigating ways to leverage ServiceStack in building a RESTful API and UI from a database. The main objective for this new theming capability is to allow easy development of new themes on top of the ServiceStack Razor view engine, with fallback capability to the default theme for views, content pages, master pages and layouts that don’t require specific theming.

Read More

.net, C#, llblgen, rest, servicestack

RESTful Api and UI for Typed Views and Typed Lists with LLBLGen and ServiceStack

Posted on May 11, 2013 by Matt C. in .NET, ASP.NET MVC, REST
spacer

In this post, we extend the implementation described in the prior post to include generating an HTML UI and RESTful Api on top of LLBLGen Typed Views and Typed Lists, leveraging the ServiceStack web service and razor framework. The api provides paging, sorting, filtering – source is hosted on GitHub, and a demo is included as well.

Read More

code generation, llblgen, odata, orm, rest, servicestack

Generating a fully RESTful Api and UI from a database with LLBLGen and ServiceStack (templates on Github and Demo)

Posted on March 10, 2013 by Matt C. in .NET, ASP.NET MVC, REST
spacer

In this post, we’re going to explore building a generic RESTful api on top of a database with custom CRUD and query conventions, using the LLBLGen ORM and code generator, a ServiceStack service layer, and ServiceStack Razor html entity browser layer. This API and html entity browser can be generated on top of any database that LLBLGen supports (see here for supported database drivers).

Read More

code generation, llblgen, odata, orm, rest, servicestack

Service-based data adapter for LLBLGen entities using ServiceStack

Posted on December 12, 2012 by Matt C. in .NET
spacer

This post is about leveraging the LLBLGen Pro and ServiceStack tools to allow users to use the existing LLBLGen Adapter API on the client to manage, manipulate, query and update entities on remote servers, across database platforms even (SQL, MySql, Oracle, etc…). This allows LLBLGen users to fully take advantage of the query API they are familiar with and write code manipulating entities as if they were on the server.

Read More

C#, llblgen, orm, servicestack, web api

SimpleMembershipProvider in MVC4 for MySql, Oracle, and more with LLBLGen

Posted on November 10, 2012 by Matt C. in .NET, ASP.NET MVC
spacer

One of the cool new features in ASP.NET MVC4 and the Visual Studio MVC application template is the SimpleMembershipProvider which provides a more concise membership provider to the ASP.NET framework, and supports OAuth additionally. Thanks to LLBLGen we can generate one provider code-base that supports a dozen or more database providers out-of-the-box, eliminating the out-of-the-box limitations imposed by Entity Framework as the data access strategy, and lots of custom SQL commands built for SQL Server.

Read More

asp.net mvc, C#, llblgen, membership provider, simplemembershipprovider

SharePoint 2010 Service Application Development 101 – MailChimp Integration Example

Posted on October 17, 2012 by Matt C. in .NET, SharePoint
spacer

In this post, we will leverage the custom service application infrastructure and solution we put together in the last 4 posts to enhance the service application with new features and capabilities. The sample feature we will add is an integration between SharePoint and MailChimp, enabling sites to synchronize a contacts list to a MailChimp list.

Read More

.net, C#, MailChimp, mycorp, saf, service application, sharepoint, wcf

SharePoint 2010 Service Application Development 101 – Admin UI and PowerShell

Posted on October 7, 2012 by Matt C. in .NET, SharePoint
spacer

In this post we explore how to configure various aspects of a SharePoint 2010 service application. This includes building some customizations in the application pages and extending the service application with powershell scripts. It is really up to your imagination when it comes to what you want to include and how you want to manage your service app, SharePoint gives you a tremendous amount of flexibility when it comes to these things.

Read More

.net, admin, C#, mycorp, powershell, sharepoint

SharePoint 2010 Service Application Development 101 – Base Solution

Posted on October 3, 2012 by Matt C. in .NET, SharePoint
spacer

In this post, we are going to explore the guts of our custom service application, expect lots of code in this post. As I mentioned in my first post in this series, the goal of this Service Application development exercise is to build an infrastructure within SharePoint 2010 for your company to add value to your SharePoint investment, by exposing 3rd party and custom capabilities and features to your farm(s) in a scalable and maintainable way.

Read More

C#, isv, mycorp, saf, service application, sharepoint

SharePoint 2010 Service Application Development 101 – Logical Components

Posted on September 27, 2012 by Matt C. in .NET, SharePoint
spacer

In this post we explore the essential components that make up a service application and the relationships between them: servers, services, service proxies, service instances, service applications, service application proxies, and load-balancers. In addition to these core components, we will also explore adding job definitions and databases to the mix.

Read More

load balancing, mycorp, saf, service application, sharepoint
123