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