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