This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Remapear el protocolo git a https | |
git config --global url."https://".insteadOf git:// | |
//listar las configuraciones globales de git | |
git config --list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace System.Web.Mvc | |
{ | |
public interface IViewEngine | |
{ | |
ViewEngineResult FindPartialView(ControllerContext controllerContext, string partialViewName, bool useCache); | |
ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache); | |
void ReleaseView(ControllerContext controllerContext, IView view); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Web; | |
using System.Web.Mvc; | |
namespace MvcThemeable.Infraestructura | |
{ | |
public class ThemeViewEngine: RazorViewEngine | |
{ | |
public ThemeViewEngine(string tema) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Optimization; | |
using System.Web.Routing; | |
using MvcThemeable.Infraestructura; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Web.Mvc; | |
using AuditSample.Models; | |
using Microsoft.AspNet.Identity; | |
namespace AuditSample.Controllers | |
{ | |
[Authorize] | |
public class PizzaController : Controller | |
{ | |
private readonly IApplicationService _applicationService; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Assembly Microsoft.AspNet.Mvc.5.2.3 | |
namespace System.Web.Mvc | |
{ | |
/// <summary> | |
/// Defines the methods that are used in an action filter. | |
/// </summary> | |
public interface IActionFilter | |
{ | |
/// <summary> | |
/// Called before an action method executes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace AuditSample.Models | |
{ | |
public interface IAuditRequest | |
{ | |
string UserId { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace AuditSample.Models | |
{ | |
public class Pizza: IAuditRequest | |
{ | |
public int Id { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Web; | |
using System.Web.Http.Controllers; | |
using System.Web.Mvc; | |
using Microsoft.AspNet.Identity; | |
namespace AuditSample.Models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Web; | |
using System.Web.Http.Controllers; | |
using System.Web.Mvc; | |
using Microsoft.AspNet.Identity; | |
namespace AuditSample.Models |
OlderNewer