Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

Eric W Scott

@Eric W Scott
About
Posts
6
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Getting HiddenField value in GetValidators method of CustomModelValidatorProvider
    E Eric W Scott

    With this code:

    @Html.HiddenFor(model => model.LookupTableId, new { id = "txtLookupTableId" })

    You are setting the value of the hidden field to whatever is in your model's LookupTableId property. This is done on the server side when the view is rendered. I don't know anything about Kendo components so I can't help you there. For a troubleshooting approach on the client side, try using the developer tools built in to the browser (F12 on chrome). You can set breakpoints and log to the console using console.log. This should help you see what is going on in your event handler. Good luck!

    ASP.NET html css asp-net linq docker

  • Getting HiddenField value in GetValidators method of CustomModelValidatorProvider
    E Eric W Scott

    Are you sure that txtLookupTableId is being set correctly? You can use a tool like Fiddler[^] to inspect the raw HTTP post to check the value coming in.

    ASP.NET html css asp-net linq docker

  • Code scanners recommendations
    E Eric W Scott

    If you're using .NET, for static analysis you can take a look at PumaScan[^] or Security Code Scan[^]. Both are open source. Security Code Scan has better support for .NET Core. OWASP maintains a list of code analysis tools here[^].

    The Lounge csharp visual-studio security question

  • adding code at runtime
    E Eric W Scott

    I have used Castle Windsor[^] to accomplish something similar. There are several other .NET inversion of control containers that may also work (StructureMap, Spring.Net, Ninject, etc.) but I don't have any experience with them. Regards, Eric

    .NET (Core and Framework) announcement csharp business question

  • I Hate Clever Javascript Programmers [modified]
    E Eric W Scott

    The uncompressed source is on GitHub. https://github.com/mjijackson/shadowbox[^]

    The Weird and The Wonderful javascript question

  • Please set me straight on DotNetNuke
    E Eric W Scott

    I worked on four major DNN projects using version 3 and early versions of 4. That was enough for me, I doubt that I will ever use it again. I haven't looked at it since version 4.3 so some of my criticism may be outdated. It really depends on the business goals. DNN is a portal framework. It is not a CMS. It is not an application framework. If you need to build a portal, then DNN may be a good fit. I tried to use DNN as both a CMS and a general web application framework and the results were not good. As a CMS, DNN lacks several key features such as versioning, auditing, approval chains, etc. There is a "Managed Content" module that you can purchase which provides these features at the module level, but nothing is built in to provide these features on a page or system-wide level. As a web application framework, I found DNN to be too inflexible. It was just too high of an abstraction to do some of the things that we wanted to do. Writing custom modules is not difficult, but if you need to do something that doesn't fit into the DNN paradigm of pages and modules then you quickly fall into rough waters. I have had much more success using MonoRail/ActiveRecord from the Castle project as a web application framework. Another major pain point with DNN was producing valid xhtml and html output. It was possible, but required making changes to the core and almost any module that you wished to use. Once you go down this path, you are basically creating your own fork of the DNN project and maintenance becomes a burden. DNN is also very complex. I would think twice about applying it to smaller web projects that do not need such a large, complicated solution. Overall, I wouldn't dismiss the DNN project, but I would look carefully to see if really meets your business goals. If your business goals line up with DNN, then I think it can be a real time saver. Regards, Eric

    The Lounge business beta-testing code-review
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups