Compare commits
1 Commits
1.4.0
...
optimalCom
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86f73879d1 |
@@ -5,7 +5,7 @@ var download = require("gulp-download");
|
|||||||
var del = require('del');
|
var del = require('del');
|
||||||
var assemblyInfo = require('gulp-dotnet-assembly-info');
|
var assemblyInfo = require('gulp-dotnet-assembly-info');
|
||||||
var xunit = xunit = require('gulp-xunit-runner');
|
var xunit = xunit = require('gulp-xunit-runner');
|
||||||
var version = '1.4.0';
|
var version = '1.3.2';
|
||||||
|
|
||||||
gulp.task('clean', ()=>{
|
gulp.task('clean', ()=>{
|
||||||
return del(['src/**/obj/', 'src/**/bin/Release', 'nuget.exe', 'nupkgs'])
|
return del(['src/**/obj/', 'src/**/bin/Release', 'nuget.exe', 'nupkgs'])
|
||||||
|
|||||||
@@ -14,21 +14,7 @@ namespace CompressR.Sample.Controllers
|
|||||||
{
|
{
|
||||||
ViewBag.Title = "Home Page";
|
ViewBag.Title = "Home Page";
|
||||||
|
|
||||||
return View("index");
|
return View();
|
||||||
}
|
|
||||||
[Gzip]
|
|
||||||
public ActionResult Gzip()
|
|
||||||
{
|
|
||||||
ViewBag.Title = "Home Page";
|
|
||||||
|
|
||||||
return View("index");
|
|
||||||
}
|
|
||||||
[Deflate]
|
|
||||||
public ActionResult Deflate()
|
|
||||||
{
|
|
||||||
ViewBag.Title = "Home Page";
|
|
||||||
|
|
||||||
return View("index");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -17,7 +17,6 @@ namespace CompressR.Sample.Controllers
|
|||||||
{
|
{
|
||||||
return new string[] { "value1", "value2" };
|
return new string[] { "value1", "value2" };
|
||||||
}
|
}
|
||||||
[Deflate]
|
|
||||||
|
|
||||||
// GET api/values/5
|
// GET api/values/5
|
||||||
public string Get(int id)
|
public string Get(int id)
|
||||||
@@ -25,7 +24,7 @@ namespace CompressR.Sample.Controllers
|
|||||||
return "value";
|
return "value";
|
||||||
}
|
}
|
||||||
|
|
||||||
[Gzip]
|
[Compress]
|
||||||
[HttpGet, Route("TestJsonSerialization")]
|
[HttpGet, Route("TestJsonSerialization")]
|
||||||
public async Task<IHttpActionResult> TestJsonSerialization()
|
public async Task<IHttpActionResult> TestJsonSerialization()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user