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
N

Nitin Singh India

@Nitin Singh India
About
Posts
15
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Multi-Tenant Architecture
    N Nitin Singh India

    I have client specific overrides for business rules. We run the industry standard & compliance related rules first and then the client specific rules. We are currently having main biz class having the standard rules and client specific rules as a decorator over that. Then we detect the client id passed and load the appropriate decorator. Assets are loaded through a CMS due to different branding elements.

    Design and Architecture sysadmin asp-net design architecture workspace

  • Multi-Tenant Architecture
    N Nitin Singh India

    While designing a MTA based system, how should we structure the application deployment such that we can build tenant specific functionality as well and restrict that to the requesting tenant. We need to design asset management so we can build on core and specific components and then load them at runtime based on the tenant who's requesting. Our environment is web+mobile client with thin server

    Design and Architecture sysadmin asp-net design architecture workspace

  • Pass by reference, Pass by value
    N Nitin Singh India

    When you are passing something to another function, it can get modified within that. The importance comes into picture if you want to know what happens after the function returns. If you do not care about the post-return stage, then you can pass by value/reference, it doesn't affects your application logic in anyway. However, if you are concerned with the after value, you need to pass by reference. Apart, given the framework implementation, an object is a heavyweight construct. So if we keep on passing such a huge object by creating a copy, it will hog up memory causing hung application and GC trigger. Hence the framework will auto (most i believe) will pass an object by reference and cause any changes to that be available outside the function as well. You can also pass a value type (structure) as reference, in which case it will be boxed into a reference type and then passed. C# allows you to explicitly specify "ref" and "out" decorators on parameters. If applied either, the changes are visible after the function return, else by default it gets passed as value.

    - Uncategorised posts - question

  • India to ban hand cleaning toilets
    N Nitin Singh India

    What u mean by "bat country" ?

    The Lounge com announcement

  • India to ban hand cleaning toilets
    N Nitin Singh India

    stop defamation...

    The Lounge com announcement

  • Eventing and Memory leaks
    N Nitin Singh India

    This is the reason if u register explicit events handlers at start , you should release them at end.

    .NET (Core and Framework) question career performance help

  • Generic class with reference to another generic class
    N Nitin Singh India

    Even if technically possible, what's the logical need of accomplishing it? Generics do allow specific types to be used, but this need is more like having a tree with each branch capable of bearing a different fruit :doh:

    Code can solve a problem identified; but first identify the problem itself

    .NET (Core and Framework) csharp help question

  • Family tree control in silverlight
    N Nitin Singh India

    Currently I am trying to incorporate the person user control as collapsible to show hide children. Also to show person's detail on mouse hover.

    WPF csharp wpf data-structures json

  • Check Remote sql connecton is exist or not? [modified]
    N Nitin Singh India

    If your connection string is same, not integrated authentication, then you have 25 connections possible in your pool, unless u increase them manually. Otherwise, look for an open SqlDataReader which has caused exception and hence not got the connection close (you would have also missed the closing of connection in the finally block, for this to happen). Anyway, within a little time, the connection will timeout and return to your pool. So the issue cannot be continuous; if it is, then you need to look into the machine's event log to figure out the actual root cause.

    .NET (Core and Framework) csharp database question announcement

  • Access Violation in C# class library
    N Nitin Singh India

    It can be that you have encoded your connection string and while the user account has sufficient permissions to decode it on your own servers, it doesn't has so on the production servers.

    .NET (Core and Framework) csharp database c++ asp-net data-structures

  • To deploy .net dll ther is requirement of .net framework.
    N Nitin Singh India

    Yes, the framework provides the libraries and runtime environment for the dll to run. When you create the setup project in visual studio, you can add a condition to check on the target machine. In this, add a condition mentioning that the required version of .net framework is installed; providing a location on MS site to get it if its not already installed. However, in most cases, you can expect it to be installed either by default or as part of some service packs Windows XP SP3 will have .net 3.0 installed Windows Vista comes with 2.0 pre-installed; SP will install further Windows 7 comes with 3.5 pre-installed

    .NET (Core and Framework) csharp dotnet question

  • Adding layers
    N Nitin Singh India

    Its a simple design pattern named as "Facade" There are low level functions available in an API, but you might need to expose simpler interfaces to your "common" users; those who need very generic functionality. For specific cases, the users may take the pain of going deeper, but 95% of time, its not required. Hence wrapping an intricate functionality into a simple API (the target of Facade design pattern) provides both common as well as specific users the level of functionality desired by them. OOPS has lots to learn, and the more experience you get, the deeper you can think. Its good you want to get into design in 6 months and you would sure grow up to a happy professional :) Cheers (BTW: include design patterns in your quest, they would tell u a lot how things are designed)

    .NET (Core and Framework) csharp database linux help tutorial

  • Non static class with only static methods
    N Nitin Singh India

    A class with a single private default constructor cannot be inherited. It will always need some way to instantiate the parent...

    .NET (Core and Framework) csharp com question

  • Family tree control in silverlight
    N Nitin Singh India

    Thanks Rob, it seems that your control can provide some guidance for the full family tree control. Would keep you posted if i get to design it further :)

    WPF csharp wpf data-structures json

  • Family tree control in silverlight
    N Nitin Singh India

    Does anyone know about having a family tree control in silverlight. There's a WPF application on codeplex, but that is too extensive to show the already built tree on a website. Their's API is also too big to port back. In case anyone wants to do this with me, let me know.

    WPF csharp wpf data-structures json
  • Login

  • Don't have an account? Register

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