Skip to content

Commit 95f6c64

Browse files
committed
added NuGetPack for: StackExpress, StackExpress.Mvc, StackExpress.Common, StackExpress.Razor, StackExpress.Authentication, StackExpress.MsgPack and StackExpress.ProtoBuf
1 parent beaed5d commit 95f6c64

File tree

15 files changed

+561
-1
lines changed

15 files changed

+561
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress.Authentication.OpenId</id>
5+
<title>OpenId Auth Providers for StackExpress - inc. Google, Yahoo, MyOpenId</title>
6+
<version>$version$</version>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>OpenId Auth Providers for StackExpress - inc. Google, Yahoo, MyOpenId</summary>
10+
<description>
11+
Adds OpenId Auth Providers for use in StackExpress Web and REST Services.
12+
Includes built-in support for Google, Yahoo, MyOpenId and Custom OpenId providers.
13+
14+
More Info on Auth Providers:
15+
https://github.com/ServiceStack/ServiceStack/wiki/Authentication-and-authorization
16+
</description>
17+
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
18+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
19+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
20+
<tags>OpenId Google Yahoo MyOpenId Authentication Auth Provider ServiceStack REST Web Services</tags>
21+
<language>en-US</language>
22+
<copyright>StackExpress.net 2012 and contributors</copyright>
23+
<dependencies>
24+
<dependency id="StackExpress" />
25+
<dependency id="DotNetOpenAuth.Ultimate" />
26+
</dependencies>
27+
</metadata>
28+
<files>
29+
<file src="lib\**\*.*" target="lib" />
30+
<file src="..\..\src\ServiceStack.Authentication.OpenId\**\*.cs" target="src" />
31+
</files>
32+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress.Client.Silverlight</id>
5+
<version>$version$</version>
6+
<title>Silverlight Clients for StackExpress webservices</title>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>Silverlight JSON, XML, JSV ServiceClients for StackExpress web services</summary>
10+
<description>
11+
StackExpress client binaries for Silverlight. Provides generic JSON, XML and JSV Service Clients allowing you to call ServiceStack web services from a Silverlight client.
12+
This is now a stub that points to ServiceStack.Common NuGet package which now contains the Silverlight client builds.
13+
</description>
14+
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
15+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
16+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
17+
<tags>Silverlight Fast JSON XML JSV REST Web Services</tags>
18+
<language>en-US</language>
19+
<copyright>StackExpress.net 2012 and contributors</copyright>
20+
<dependencies>
21+
<dependency id="StackExpress.Common" />
22+
</dependencies>
23+
</metadata>
24+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress.Common</id>
5+
<title>Service Clients and Common libs for StackExpress projects</title>
6+
<version>$version$</version>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>Opensource .NET and Mono REST Web Services framework</summary>
10+
<description>
11+
Common library dependency for other StackExpress projects.
12+
Includes JSON, XML, JSV and SOAP Generic Service Clients.
13+
Contains:
14+
- StackExpress.Interfaces
15+
- StackExpress.Common
16+
Dependenies:
17+
- StackExpress.Text
18+
</description>
19+
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
20+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
21+
<iconUrl>http://www.StackExpress.net/logo-100x100.png</iconUrl>
22+
<tags>StackExpress Common Framework</tags>
23+
<language>en-US</language>
24+
<copyright>StackExpress.net 2012 and contributors</copyright>
25+
<dependencies>
26+
<dependency id="StackExpress.Text" />
27+
</dependencies>
28+
</metadata>
29+
<files>
30+
<file src="lib\**\*.*" target="lib" />
31+
<file src="..\..\src\ServiceStack.Common\**\*.cs" target="src\ServiceStack.Common" />
32+
<file src="..\..\src\ServiceStack.Interfaces\**\*.cs" target="src\ServiceStack.Interfaces" />
33+
</files>
34+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress.Host.AspNet</id>
5+
<title>Starter ASP.NET Website Template - StackExpress at /</title>
6+
<version>$version$</version>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>Opensource .NET and Mono REST Web Services framework</summary>
10+
<description>
11+
Host StackExpress in an existing ASP.NET web application at the root path '/'.
12+
StackExpress is a modern, high-performance, code-first web service framework promoting code and web services best practices. Simple, Fast, Elegant. Website: http://www.servicestack.net
13+
</description>
14+
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
15+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
16+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
17+
<tags>Fast JSON XML CSV HTML SOAP JSV REST Web Service Framework MONO</tags>
18+
<language>en-US</language>
19+
<copyright>StackExpress.net 2012 and contributors</copyright>
20+
<dependencies>
21+
<dependency id="WebActivator" version="1.5" />
22+
<dependency id="StackExpress" />
23+
</dependencies>
24+
</metadata>
25+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress.Host.Mvc</id>
5+
<title>Starter ASP.NET MVC Website Template - StackExpress at /api</title>
6+
<version>$version$</version>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>Opensource .NET and Mono REST Web Services framework</summary>
10+
<description>
11+
Host StackExpress side-by-side with an existing ASP.NET MVC application at the path '/api'.
12+
StackExpress is a modern, high-performance, code-first web service framework promoting code and web services best practices. Simple, Fast, Elegant. Website: http://www.servicestack.net
13+
</description>
14+
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
15+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
16+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
17+
<tags>Fast JSON XML CSV HTML SOAP JSV REST Web Service Framework MONO</tags>
18+
<language>en-US</language>
19+
<copyright>StackExpress.net 2012 and contributors</copyright>
20+
<dependencies>
21+
<dependency id="WebActivator" version="1.5" />
22+
<dependency id="StackExpress.Mvc" />
23+
</dependencies>
24+
</metadata>
25+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress.Mvc</id>
5+
<title>MVC Adapters for integrating with StackExpress webservices</title>
6+
<version>$version$</version>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>.NET 4.0 project Integration of StackExpress with MVC3</summary>
10+
<description>
11+
Full details in Mvc PowerPack: http://servicestack.net/mvc-powerpack/
12+
Adapter classes to provide tight integration and re-usable functionality between ServiceStack and MVC3.
13+
Including adapters for: MiniProfiler, FluentValidation, Funq IOC Controller Factory, Funq Validator Factory
14+
ControllerBase (configured with access to ServiceStack's ICacheClient, ISession, typed UserSession dependencies).
15+
</description>
16+
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
17+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
18+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
19+
<tags>MiniProfiler FluentValidation MVC Controller</tags>
20+
<language>en-US</language>
21+
<copyright>StackExpress.net 2012 and contributors</copyright>
22+
<dependencies>
23+
<dependency id="StackExpress" />
24+
</dependencies>
25+
</metadata>
26+
<files>
27+
<file src="lib\**\*.*" target="lib" />
28+
<file src="..\..\src\ServiceStack.FluentValidation.Mvc3\**\*.cs" target="src" />
29+
</files>
30+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress.Plugins.MsgPack</id>
5+
<title>Message Pack support for StackExpress. Includes typed MsgPack Client</title>
6+
<version>$version$</version>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>MsgPack Format Serializer ContentType ServiceClients for StackExpress</summary>
10+
<description>
11+
Add the MsgPack binary format and endpoint to a StackExpress web service host.
12+
</description>
13+
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
14+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
15+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
16+
<tags>MsgPack MessagePack Message Pack Fast Binary Serializer Format ContentType StackExpress REST Web Services</tags>
17+
<language>en-US</language>
18+
<copyright>StackExpress.net 2012 and contributors</copyright>
19+
<dependencies>
20+
<dependency id="StackExpress.Common" />
21+
</dependencies>
22+
</metadata>
23+
<files>
24+
<file src="lib\**\*.*" target="lib" />
25+
<file src="..\..\src\ServiceStack.Plugins.MsgPack\**\*.cs" target="src" />
26+
</files>
27+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress.Plugins.ProtoBuf</id>
5+
<title>Protocol Buffers support for StackExpress. Includes typed ProtoBuf Client</title>
6+
<version>$version$</version>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>ProtoBuf Format Serializer ContentType ServiceClients for StackExpress</summary>
10+
<description>
11+
Add the ProtoBuf binary format and endpoint to a StackExpress web service host.
12+
</description>
13+
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
14+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
15+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
16+
<tags>ProtoBuf Fast Binary Serializer Format ContentType StackExpress REST Web Services</tags>
17+
<language>en-US</language>
18+
<copyright>StackExpress.net 2012 and contributors</copyright>
19+
<dependencies>
20+
<dependency id="protobuf-net" />
21+
<dependency id="StackExpress.Common" />
22+
</dependencies>
23+
</metadata>
24+
<files>
25+
<file src="lib\**\*.*" target="lib" />
26+
<file src="..\..\src\ServiceStack.Plugins.ProtoBuf\**\*.cs" target="src" />
27+
</files>
28+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress.Razor</id>
5+
<title>StackExpress.Razor - StackExpress's HTML story including MVC Razor</title>
6+
<version>$version$</version>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>Provides ServiceStack's HTML Story including integrated support for MVC Razor's ViewEngine</summary>
10+
<description>
11+
StackExpress Razor Documentation: http://razor.servicestack.net
12+
13+
- Turns ServiceStack into a Complete Web + REST Services Stack. Replaces need for ASP.NET MVC.
14+
- Runs In ASP.NET or Self-host, first-class cross-platform support on .NET / Mono runtimes.
15+
- Add HTML views to existing services.
16+
- Change Views and Layout templates at runtime.
17+
- No Ceremony development options - Pages without controllers, with typed and dynamic View Models.
18+
- Include Partial Markdown views in Razor pages.
19+
- Cascading Layout templates.
20+
- Pretty urls by default (no custom Routes needed).
21+
- Keep all views and assets together.
22+
- Smart View Pages.
23+
</description>
24+
<projectUrl>http://razor.servicestack.net</projectUrl>
25+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
26+
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
27+
<tags>ServiceStack Razor ViewEngine View Templates Controllers Mono ASP.NET Self-Host</tags>
28+
<language>en-US</language>
29+
<copyright>StackExpress.net 2012 and contributors</copyright>
30+
<dependencies>
31+
<dependency id="StackExpress" />
32+
</dependencies>
33+
</metadata>
34+
<files>
35+
<file src="lib\**\*.*" target="lib" />
36+
<file src="..\..\src\ServiceStack.Razor\**\*.cs" target="src" />
37+
</files>
38+
</package>
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>StackExpress</id>
5+
<title>StackExpress webservice framework: Faster, Cleaner, Modern WCF alternative</title>
6+
<version>$version$</version>
7+
<authors>Demis Bellot</authors>
8+
<owners>Demis Bellot</owners>
9+
<summary>Opensource .NET and Mono REST Web Services framework</summary>
10+
<description>
11+
Binaries for the StackExpress web framework.
12+
Visit http://www.ServiceStack.net/ServiceStack.Hello/
13+
and https://github.com/ServiceStack/ServiceStack/wiki/Create-your-first-webservice
14+
for walk throughs and docs on creating your first web service.
15+
</description>
16+
<projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
17+
<licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
18+
<iconUrl>http://www.StackExpress.net/logo-100x100.png</iconUrl>
19+
<tags>Fast JSON XML CSV HTML SOAP JSV REST Web Service Framework MONO</tags>
20+
<language>en-US</language>
21+
<copyright>StackExpress.net 2012 and contributors</copyright>
22+
<dependencies>
23+
<dependency id="StackExpress.Common" />
24+
<dependency id="ServiceStack.Redis" />
25+
<dependency id="ServiceStack.OrmLite.SqlServer" />
26+
</dependencies>
27+
</metadata>
28+
<files>
29+
<file src="lib\**\*.*" target="lib" />
30+
<file src="..\..\src\ServiceStack\**\*.cs" target="src\ServiceStack" />
31+
<file src="..\..\src\ServiceStack.ServiceInterface\**\*.cs" target="src\ServiceStack.ServiceInterface" />
32+
</files>
33+
</package>

build.cmd

+8-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,11 @@ if "%target%" == "" (
55
set target=UnitTests
66
)
77

8-
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Build\build.msbuild /target:%target% /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
8+
if "%target%" == "NuGetPack" (
9+
if "%BUILD_NUMBER%" == "" (
10+
echo BUILD_NUMBER environment variable is not set.
11+
exit;
12+
)
13+
)
14+
15+
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Build\Build.msbuild /target:%target% /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false

build/Build.tasks

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Go" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<UsingTask TaskName="RegexTransform" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
4+
<ParameterGroup>
5+
<Items ParameterType="Microsoft.Build.Framework.ITaskItem[]" />
6+
</ParameterGroup>
7+
<Task>
8+
<Using Namespace="System.IO" />
9+
<Using Namespace="System.Text.RegularExpressions" />
10+
<Using Namespace="Microsoft.Build.Framework" />
11+
<Code Type="Fragment" Language="cs">
12+
<![CDATA[
13+
foreach(ITaskItem item in Items) {
14+
string fileName = item.GetMetadata("FullPath");
15+
string find = item.GetMetadata("Find");
16+
string replaceWith = item.GetMetadata("ReplaceWith");
17+
18+
if(!File.Exists(fileName)) {
19+
Log.LogError(null, null, null, null, 0, 0, 0, 0, String.Format("Could not find version file: {0}", fileName), new object[0]);
20+
}
21+
string content = File.ReadAllText(fileName);
22+
File.WriteAllText(
23+
fileName,
24+
Regex.Replace(
25+
content,
26+
find,
27+
replaceWith
28+
)
29+
);
30+
}
31+
]]></Code>
32+
</Task>
33+
</UsingTask>
34+
</Project>

0 commit comments

Comments
 (0)