Questions

Related Tags:
Asp.Net It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. Learn More, C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, ASP.NET MVC The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly. Learn More,

Question:How to get the time difference between utc time and local time in C#?

Description:I have .net base website which currently have server time zone set to GMT+5, I need to extract that 5 from it dynamically so that once I change the time zone of the server or deploy the same site on another sever with different time zone, I should be able to extract that time difference in that case.

View Details

Posted by: Umer khan | Posted on: Sep 11, 2020


Related Tags:
C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, Lambda expressions A lambda expression is a convenient way of defining an anonymous (unnamed) function that can be passed around as a variable or as a parameter to a method call. Many LINQ methods take a function (called a delegate) as a parameter. ... The => operator is called the "lambda operator". Learn More,

Question:How to convert list of lists to single list in c# using lambda expression?

Description:I have records coming from database where each item can have multiple TagIds(List<string>) assigned to it. I have combined the lists but currently it has become a list of lists as shown below, List<List<string>> listOfLists=databaseQueriedItems; but I need the items in one list like following one(i.e I want to flatten the hierarchy) List<string> singleListOfStrings;

View Details

Posted by: Umer khan | Posted on: Aug 29, 2020


Related Tags:
Asp.Net It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. Learn More, HTML Hypertext Markup Language, a standardized system for tagging text files to achieve font, colour, graphic, and hyperlink effects on World Wide Web pages. Learn More, ASP.NET MVC The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly. Learn More, MVC 4 It is a newer version of ASP.NET MVC,ASP.NET MVC 4 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of ASP.NET and the .NET Framework. Learn More,

Question:Saved user, password appearing in wrong fields even autocomplete=off is not working in mvc5?

Description:I have a mvc view(page)for verify otp where I have three fields for verification code,password and confirm password but in the code field saved email address is appearing, I have tried using autocomplete=off with no luck

View Details

Posted by: Khalid Abbas | Posted on: Aug 26, 2020


Related Tags:
C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, Enum Flags Attribute The idea of Enum Flags is to take an enumeration variable and allow it hold multiple values. It should be used whenever the enum represents a collection of flags, rather than representing a single value.You create a bit flags enum by applying the System. Learn More,

Question:How to check if the flags enum value has/contains other flags enum values in c#?

Description:For example I have Following flags enum and I have stored a number 7 in the database now I have to check if 7 contains the requested number let say 3(which is for OptionOne and OptionTwo) it should return true, in this way I have to compare a single int value with a single int value for the following flag enum. [Flags] public enum MyFlagsEnum { None = 0, OptionOne = 1, OptionTwo = 2, OptionThree = 4, }

View Details

Posted by: Junaid Aziz | Posted on: Aug 21, 2020


Related Tags:
MongoDB MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. Learn More, MongoDB Compass MongoDB Compass is the GUI for MongoDB. Compass allows you to analyze and understand the contents of your data without formal knowledge of MongoDB query syntax. Learn More,

Question:how check for not null against a field in mongodb using mongodb compass?

Description:I have string field "UserId" for which I need to get all those records where "UserId" not equal to null, i.e "UserId" has some value for the record

View Details

Posted by: Umer khan | Posted on: Jul 28, 2020


Related Tags:
Microsoft Visual Studio Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs for Microsoft Windows, as well as web sites, web apps, web services and mobile apps. Learn More, Visual Studio 2019 (Community Edition) A fully-featured, extensible, free IDE for creating modern applications for Android, iOS, Windows, as well as web applications and cloud services. Learn More,

Question:The setup for this installation of Visual Studio is not complete. Please run the Visual Studio Installer again to correct the issue.

Description:I am using Visual Studio 2019(community version) on my local development machine for months and today I started getting error "The setup for this installation of Visual Studio is not complete. Please run the Visual Studio Installer again to correct the issue." And unable to run visual studio any more.

View Details

Posted by: Samantha Jones | Posted on: Jun 25, 2020


Related Tags:
Asp.Net It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. Learn More, MongoDB MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. Learn More, .NET Core . NET Core is a free and open-source, managed computer software framework for Windows, Linux, and macOS operating systems. It is a cross-platform successor to . NET Framework. The project is primarily developed by Microsoft and released under the MIT License. Learn More, Heroku Heroku is a cloud platform as a service (PaaS) supporting several programming languages. One of the first cloud platforms, Heroku has been in development since June 2007, when it supported only the Ruby programming language, but now supports Java, Node.js, Scala, Clojure, Python, PHP, and Go. For this reason, Heroku is said to be a polyglot platform as it has features for a developer to build, run and scale applications in a similar manner across most languages. Learn More,

Question:Easiest way for deploying a asp.net core web api on heroku sever?

Description:I have developed an asp.net core web api with mongodb by the help of following link . Now I need to deploy this web api on heroku server while I already have my mongodb on mongodb cloud and I also have created app on heroku server.

View Details

Posted by: Umer khan | Posted on: Jun 08, 2020


Related Tags:
Asp.Net It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. Learn More, C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, MongoDB MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. Learn More, .NET Core . NET Core is a free and open-source, managed computer software framework for Windows, Linux, and macOS operating systems. It is a cross-platform successor to . NET Framework. The project is primarily developed by Microsoft and released under the MIT License. Learn More,

Question:Need to create a .net core web api using MongoDB as backend storage database?

Description:I am new to .net core and mongodb as well. I have prior experience of using .net and mssql can anyone suggest me a complete working example, so that I can get an idea about the architecture of such asp.net core api.

View Details

Posted by: Umer khan | Posted on: May 22, 2020


Related Tags:
C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, Visual Studio Tools for Office (VSTO) Visual Studio Tools for Office is a set of development tools available in the form of a Visual Studio add-in and a runtime that allows Microsoft Office 2003 and later versions of Office applications to host the .NET Framework Common Language Runtime to expose their functionality via .NET. Learn More, Microsoft Excel Microsoft Excel is a spreadsheet developed by Microsoft for Windows, macOS, Android and iOS. It features calculation, graphing tools, pivot tables, and a macro programming language called Visual Basic for Applications. Learn More, Add-in An add-in is a software program that expands the capabilities of bigger programs. It is a term commonly used by Microsoft and other platforms which have additional functions that can be added to primary programs. An add-in has specific but limited features that require only minimal memory resources. Learn More,

Question:how to get the last column used/last column that has some data in a excel file programmatically by using C#?

Description:I need to iterate through a single row where I don’t know the end range as I have a dynamically generated excel file which might have different number of columns used every time. I am using following code, taken from reference code List<string> myValue = new List<string>(); //unknown end Range //need to get the Last data filled column or Last Column used in the following line string endRange="D1"; foreach (Range row in sheet.Cells.Rows.Range["A1", endRange]) { Range cell = (Range)row.Cells[1, 1]; if (cell.Value2 != null) { myValue.Add(Convert.ToString(cell.Value2)); } }

View Details

Posted by: Peter Andre | Posted on: Jan 22, 2020


Related Tags:
Asp.Net It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. Learn More, C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, ASP.NET MVC The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly. Learn More, Sitemap A sitemap is a file where you provide information about the pages, videos, and other files on your site, and the relationships between them. Search engines like Google read this file to more intelligently crawl your site. Learn More,

Question:How to dynamically generate sitemap xml for an asp.net mvc website?

Description:I have a website developed using asp.net mvc (c#) which contains some static pages and also some dynamic pages i.e where the content is fetched from database and is dynamically increasing as well, So I need to build such a sitemap for which I need to code for once and it take care of the future items that needs to be included in the sitemap.

View Details

Posted by: Khalid Abbas | Posted on: Jan 21, 2020


1 2 3 4 5 6 7 8 9 10

Tags