Questions




Answers
0
Re-request facebook details, if User denies scope ("manage_page") using Startup.cs in ASP.NET Core

Hi, 

Facebook docs give this javascript code as shown below for oAuth login re-request

...
Read More
ASP.NET Asp.net-core
Answers
2
No project was found, change the current working directory or use the --project option

Hi, I'm adding a new class in my asp.net core 2 project and this class is mapped to one of the table in database, I want to use migrations to create the table from my model,
 So I was running this command as shown below in the image:

...

Read More
ASP.NET ASP.NET-Core-2 EF-Migrations-error
Answers
2
How do I set a project as startup project in Visual Studio Code?

I am looking for a solution to set a project as start-up project in Visual Studio code, like in Visual Studio 2015/2017 or in any other recent version, I right click a project within solution explorer and set it as startup.

However, I am not able to do that in VS Code. So, how can I accomplish that in VS Code? Thanks.

...
Read More
Visual-Studio Visual-Studio-code
Answers
1
Return User to login page, if user doesn't "Allow" facebook permissions in ASP.NET Core application

Hi, I have created an app at Facebook developer page and configured that with my Identity server application URL. Identity server4 application is built in asp.net core.

When user enter the website and tries to connect it using his/her Facebook account, then my app created under Facebook developer ask him the permission to allow the app to receive her information like email adress, age, etc, when user cancelled the permission he is redirected to page "Account/Login" I have followed the steps in this link : https://qawithexperts.com/questions/387/access-denied-when-permission-of-app-to-my-application-is-de

...

Read More
asp.net asp.net-core facebook-permissions
Answers
1
How to find missing date between two dates in sql table.

I would like to know a sql query to find all missing dates between two dates , suppose my sql table is as below

ID

Date

1

2018-1-10

2

2018-1-12

3

2018-1-13

4

2018-1-15

5

2018-1-17

6

2018-1-18

7

2018-1-20

8

2018-1-21

 

I need to run sql query which will return missing dates from date column like  ‘2018-1-11’ , ‘2018-1-14’.

 

...
Read More
sql date sql-server
Answers
2
How to clean and build solution in visual studio code (.net core2)

Hi, I want to build and clean my project solution in visual studio code, but I can't find the option of clean and build in visual studio code, like we clean the project by clicking right project and click on "Clean" or "Build" in Visual Studio.

How can I do the same thing in visual studio code. Thanks.

...
Read More
ASP.NET Clean-build-solution visual-studio-code
Answers
2
how can I set a specific page as a default page in .net core 2 using visual studio code

Hi, I'm using visual studio code to develop a web site using asp.net core 2. when I debug the project the default page is set as : https://localhost:xxxx

I want to set my page : "Account/Login" as my website's default page .

means when I debug the project the first screen should appear will this : https://localhost:xxxx/Account/Login

how can I do that?

Thanks 

...
Read More
ASP.NET asp.net-core set-starting-page-in-net-core
Answers
1
How to get separate DLLs for each area in an area concept applied project in ASP.NET MVC?

We are creating a big project/ERP in our software firm where we are using area concept for different modules. Problem is when we are publishing the project, there are only 5 project related DLLs like **.core.dll, *.utlility.DLL etc. What I am wanting is, to create DLLs for each area like HRMS.dll, Payroll.DLL, inventory.DLL etc. Is there any process?

...
Read More
asp.net asp.net mvc mvc c#
Answers
1
Pseudo code in SQL

I have to write a pseudocode program to read the two sample files, calculate and print the final mark for each subject, as well as the average final mark per student.

Document the code well using comments.

The final mark is calculated as 25% of the year mark, 25% of the prac mark and 50% of the exam mark.

Assume the records of the two files are arranged in Student number (S-no) sequence. Note that some students have more subjects than others….

 

I was tasked with the above program and im not sure how to express this in pseudo code.

 

...
Read More
SQL Pseudo
Answers
0
How to catch exception in log parser(MSUtil) though SSIS Package while inserting log file data to table?

I am using LogParser tool (MSUtil dll) to insert data in db through SSIS Package.

I am using following code in script task component:

Looping through log files and using following :

 

...
Read More
c# SSIS

Page 2 of 42