Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion WebApiProxy.Server/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyInformationalVersion("1.2.0.*")]
[assembly: AssemblyVersion("1.2.1.*")]
[assembly: AssemblyFileVersion("1.2.1.*")]
12 changes: 8 additions & 4 deletions WebApiProxy.Server/WebApiProxy.Server.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@
<metadata>
<id>WebApiProxy</id>
<version>$version$</version>
<title>$title$</title>
<title>Web Api Proxy Provider</title>
<authors>Fanie Reynders</authors>
<owners>Fanie Reynders</owners>
<projectUrl>https://github.com/faniereynders/WebApiProxy</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<description>Provides an endpoint for ASP.NET Web Api services to serve a JavaScript proxy and metadata.</description>
<releaseNotes />
<copyright>$copyright$</copyright>
<copyright>Copyright © 2016</copyright>
<tags>AspNet WebAPI Proxy JavaScript CSharp</tags>
<dependencies>
<dependency id="Microsoft.AspNet.WebApi.Core" version="5.2.2" />
<dependency id="DocsByReflection" version="[1.0.11]" />
</dependencies>
</metadata>
</package>
<files>
<file src="bin\$configuration$\WebApiProxy.Core.dll" target="lib\net45" />
<file src="bin\$configuration$\WebApiProxy.Server.dll" target="lib\net45" />
</files>
</package>
18 changes: 4 additions & 14 deletions WebApiProxy.Tasks/ProxyGenerationTask.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
using System;
using System.IO;
using System.Net.Http;
using Microsoft.Build.Framework;
using WebApiProxy.Core.Models;
using WebApiProxy.Tasks.Templates;
using WebApiProxy.Tasks.Models;
using Microsoft.Build.Evaluation;
using System.Linq;
using WebApiProxy.Tasks.Infrastructure;
using WebApiProxy.Tasks.Models;

namespace WebApiProxy.Tasks
{
public class ProxyGenerationTask : ITask
Expand Down Expand Up @@ -50,13 +46,10 @@ public bool Execute()
{
throw ex;
}

return true;
}





private void tryReadFromCache()
{
if (!File.Exists(Configuration.CacheFile))
Expand All @@ -66,8 +59,5 @@ private void tryReadFromCache()
var source = File.ReadAllText(Configuration.CacheFile);
File.WriteAllText(Filename, source);
}


}
}

}
Loading