oblog | Auto Rendering : arrow_down_small : Blogging System
kandi X-RAY | oblog Summary
kandi X-RAY | oblog Summary
An Auto Loading & Rendering MarkDown Based Blog System.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Time time format .
- initiate
- this is the original function
- the main entry point
- Checks whether or not reference or not .
- validate the type
- Formalization function
- this is a function
- inlined code
- push a function
oblog Key Features
oblog Examples and Code Snippets
Community Discussions
Trending Discussions on oblog
QUESTION
I'm getting started with MVC, and I'm following this sample.
In it, we find that the Blog
type is contained in the Controller
's class file, in the Mvc3ViewDemo.Controllers
namespace. This is a bit of a no-no in design methodology, as each class should be kept in its own file. (At least that's my particular convention.)
But when we move it out to its own file—even using the same namespace—the Controller can no longer see it:
(In VB.NET, the top-level namespace Mvc3ViewDemo
is specified at the project level.)
I tried putting the file in both App_Code
and the project root:
ANSWER
Answered 2020-Aug-29 at 19:16The problem was that the Blog
class file's Build Action was set to Content
. Apparently this is the default action for new code files created under App_Code
, which is why I missed it. It was right under my nose the whole time.
I set it to Compile
and now everything works as expected.
--EDIT--
I've filed a bug report which may be reviewed here.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
Install oblog
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page