I'm completely new to MVC. I have the plan to develop an application that runs on both Web and on Windows. My concern is whether MVC in .net compatiable with Windows applications?
If yes is it possible to return an actionresult with windows form or webpage based on some condition something like this below?
public actionresult Index()
{
if(some condition)
{
return View("webpage.html");
}
else
{
return View("Webform");
}
}/* code may note be having exact syntax. Just for understanding purpose.
Let me know the resolution for developing an application like this is possible or not.Alternative suggestions are appreciated.