Skip to content

Commit

Permalink
#3 Moving Core.Web to vNext
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Gerbenis committed Sep 16, 2015
1 parent 9b7ed03 commit 632f409
Show file tree
Hide file tree
Showing 38 changed files with 19 additions and 45 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
using System;
using System.Configuration;
using BetterModules.Core.Configuration;
using BetterModules.Core.Configuration;

namespace BetterModules.Core.Web.Configuration
{
public class DefaultWebConfigurationSection : DefaultConfigurationSection, IWebConfiguration
{
private const string WebSiteUrlAttribute = "webSiteUrl";

/// <summary>
/// Gets or sets the web site URL.
/// </summary>
/// <value>
/// The web site URL.
/// </value>
[ConfigurationProperty(WebSiteUrlAttribute, DefaultValue = "Auto", IsRequired = false)]
public string WebSiteUrl
{
get { return Convert.ToString(this[WebSiteUrlAttribute]); }
set { this[WebSiteUrlAttribute] = value; }
}
public string WebSiteUrl { get; set; }
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using System;
using System.Web.Mvc;
using System.Web.Routing;
using Autofac;
using Autofac.Features.Metadata;
using BetterModules.Core.Web.Dependencies;
using BetterModules.Core.Web.Mvc.Routes;
using Microsoft.AspNet.Mvc;

namespace BetterModules.Core.Web.Mvc
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.IO;
using System.Web.Mvc;
using Microsoft.AspNet.Mvc;

namespace BetterModules.Core.Web.Mvc.Extensions
{
Expand Down
26 changes: 14 additions & 12 deletions vNext/src/BetterModules.Core.Web/project.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{
"version": "1.0.0-*",
"description": "",
"authors": [ "Devbridge" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",
{
"version": "1.0.0-*",
"description": "",
"authors": [ "Devbridge" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",

"dependencies": {
},
"dependencies": {
"BetterModules.Core": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-beta7"
},

"frameworks" : {
"dnx451": { }
}
"frameworks": {
"dnx451": { }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using BetterModules.Sample.Module.Models;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;

namespace BetterModules.Mvc6.Sandbox.Controllers
Expand Down

0 comments on commit 632f409

Please sign in to comment.