Nikhil Singhal's Blog

.Net Programming tips and gotchas

Browse by Tags

Tagged Content List
  • Blog Post: LINQ design interview question

    LINQ is one of my favorite interview topics for many reasons. It allows me to check a candidate's ability to define logic, use SQL skills, showcase lambda expressions, distill the problem into easy steps and of course, see some code in action. Also, since LINQ code is generally quite compact, it is perfect...
  • Blog Post: Big list of LINQ interview questions and answers compiled

    I have had a number of users ping me asking about writing interview questions on LINQ. I actually have a 8 detailed posts on LINQ interview questions. Here is a compilation of the posts: LINQ interview questions part 3 LINQ interview questions part 2 Entity Framework interview questions ...
  • Blog Post: Entity Framework Interview Question - Explain ENUM usage in EF5

    Entity Framework 5 introduced support for Enum’s amongst other new features. This was a long awaited feature by the community.To learn how enums work with entity framework, how can you code them, how to use them, how they are represented in the database, head over to my Explain ENUM usage in EF5...
  • Blog Post: Entity Framework – what are the different ways to configure database name?

    Entity Framework allows you to create a model (either using code-first approach or modeling tools) which can target an existing database or create a new one. So what are the different ways you can use to configure which database to use? How to name it? Read my blog post on my programming interviews blog...
  • Blog Post: How to populate a database table with text from a file

    Learn about loading text from a file into a database table on my latest blog post on SQL read text from a file at my programming interviews blog (Direct link: http://www.programminginterviews.info/2013/03/sql-read-text-from-file.html )
  • Blog Post: SQL self join or sub-query interview question (employee-manager salary)

    One of my favorite interview questions that tips even seasoned SQL guys (maybe because it's too simple) is around querying data that involves a self join. Question : Given an Employee table which has 3 fields - Id (Primary key), Salary and Manager Id, where manager id is the id of the employee that...
  • Blog Post: Advanced programming interview questions and answers

    Here is a refresh of my posts on advanced programming interview questions and answers Lost in a Forest of Trees The Ins and Outs of a Binary Search Tree Simple Patterns: Singleton Pattern Simple Patterns: Repository Pattern Simple Patterns: Factory Pattern Implement a basic Stack...
  • Blog Post: JavaScript functions explained

    A simple post explaining a few different ways you can write a JavaScript function on my programing interview series blog.
  • Blog Post: LINQ interview questions part 3

    Continuing the LINQ interview questions series, I have posted a third article on LINQ interview questions on my programming interview series blog.
  • Blog Post: How to time any function

    Read my post on how to time a function on my programming interview series blog at http://www.programminginterviews.info/2012/07/how-to-time-any-function.html .
  • Blog Post: LINQ interview questions part 2

    Based on popular demand, LINQ interview questions part 2 is a follow up post to my first LINQ interview questions article.
  • Blog Post: Programming interview questions with answers covering ASP.NET, jQuery, JAVA, SQL, LINQ, Entity Framework and Regular Expressions

    Having a bit of time in the last few weeks, I managed to hammer out some more detailed posts on my programming interview series blog. Here is the table of contents for easy reference: Introduction Introduction to technical interviewing Technical Interview Process – 30,000 feet overview So, what can be...
  • Blog Post: Regular expressions - groups and alternations (Part 3)

    Regular expressions are a favorite interview topic. I have recently started writing detailed interview questions and answers on regular expressions. This is the third in the series of programming interview posts on regular expressions . You can read all of them here on my programming interview blog ...
  • Blog Post: Regular expressions interview questions part 2

    Continuing on the programming interview series on regular expressions, here is the next installment at http://www.programminginterviews.info/2012/07/regular-expressions-interview_27.html . Regular expressions interview questions–Part 1 Regular Expressions interview questions–part 2
  • Blog Post: Regular expressions interview questions with detailed answers

    I recently started a new programming interview question and answer series on regular expressions. The first installment at Regular expressions interview questions–Part 1 talks about regular expression character sets, groups, quantifiers, shorthand and gives a full solution to matching a a 10-digit, US...
  • Blog Post: Entity Framework transaction scope examples

    I just posted examples on how to use transaction scopes with entity framework on my programming interviews blog. In this post, I cover three cases in which transaction scope is being used to show rollback when an error occurs during an update of multiple entities: when you have multiple save calls to...
  • Blog Post: How to store user passwords using variable length random salt bytes with secure SHA512 cryptographic hashing functions

    I just posted a detailed post on How to store user passwords using variable length random salt bytes with secure SHA512 cryptographic hashing functions on my programming interviews blog at http://www.programminginterviews.info/
  • Blog Post: Explain C# yield keyword with an example

    Getting back to my blogging, I just posted an interview question on my programminginterviews blog on http://www.programminginterviews.info/2012/05/explain-c-yield-keyword-with-example.html . This uses the C# yield keyword to iterate over a collection and return chunks of data to process.
  • Blog Post: Entity Framework Interview Questions

    Today, I started the Entity Framework Interview Questions on my Programming Interview series blog. Check them out: Entity Framework interview questions Entity Framework and eager loading of related entities interview questions Entity Framework and lazy loading interview questions
  • Blog Post: Programming Interview Questions on C++, ASP.NET, C#, SQL and LINQ

      Reached a milestone today on my quest to make better interview questions with answers. Here is the latest list of programming interview questions on my Programming Interviews Series blog. Introduction Introduction to technical interviewing Technical Interview Process – 30,000 feet overview So...
  • Blog Post: LINQ interview questions

    Check out my latest post on LINQ interview questions on my programming interview blog at Programming Interviews Series .
  • Blog Post: LINQ - Group, Sort and Count Words in a sentence by length

    In an effort to touch on most of the major technologies for a programming interview, i just wrote my first post on LINQ interview questions titled LINQ - Group, Sort and Count Words in a sentence by length on my programming interview blog at Programming Interviews Series .
  • Blog Post: SQL IF-ELSE and WHILE examples

    Check out my latest post on SQL IF-ELSE and WHILE examples as part of SQL programming interview questions on my Programming Interviews Series blog.
  • Blog Post: SQL CASE statement examples

    Continuing on my trek to flesh out more on SQL interview questions and answers, i just finished a post on SQL CASE statement examples on my Programming Interviews Series blog.
  • Blog Post: How to create a Windows Service in the Component Designer

    Microsoft Windows services enable you to create long-running executable applications that run in their own Windows sessions. These services can be automatically started when the computer boots, can be paused and restarted, and do not show any user interface. These features make services ideal for use...
Page 1 of 2 (37 items) 12