Click here to Skip to main content
15,886,578 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionRest API always return 401 status code Pin
Mou_kol10-Aug-22 0:59
Mou_kol10-Aug-22 0:59 
AnswerRe: Rest API always return 401 status code Pin
Gerry Schmitz10-Aug-22 4:05
mveGerry Schmitz10-Aug-22 4:05 
GeneralRe: Rest API always return 401 status code Pin
Mou_kol10-Aug-22 5:08
Mou_kol10-Aug-22 5:08 
QuestionASP.NET Core MVC: How to secure token when passing with url Pin
Mou_kol9-Aug-22 4:23
Mou_kol9-Aug-22 4:23 
AnswerRe: ASP.NET Core MVC: How to secure token when passing with url Pin
Richard Deeming9-Aug-22 5:12
mveRichard Deeming9-Aug-22 5:12 
GeneralRe: ASP.NET Core MVC: How to secure token when passing with url Pin
Mou_kol10-Aug-22 0:58
Mou_kol10-Aug-22 0:58 
QuestionGet this error when returning view Pin
pkfox3-Aug-22 22:41
professionalpkfox3-Aug-22 22:41 
AnswerRe: Get this error when returning view Pin
Richard Deeming3-Aug-22 23:25
mveRichard Deeming3-Aug-22 23:25 
GeneralRe: Get this error when returning view Pin
pkfox3-Aug-22 23:40
professionalpkfox3-Aug-22 23:40 
QuestionWhat's the difference between dotnet publish -c Release vs -c Debug? Pin
DeltaOrionis29-Jul-22 11:47
DeltaOrionis29-Jul-22 11:47 
AnswerRe: What's the difference between dotnet publish -c Release vs -c Debug? Pin
Dave Kreskowiak31-Jul-22 12:53
mveDave Kreskowiak31-Jul-22 12:53 
GeneralRe: What's the difference between dotnet publish -c Release vs -c Debug? Pin
DeltaOrionis1-Aug-22 7:59
DeltaOrionis1-Aug-22 7:59 
GeneralRe: What's the difference between dotnet publish -c Release vs -c Debug? Pin
Dave Kreskowiak1-Aug-22 8:31
mveDave Kreskowiak1-Aug-22 8:31 
GeneralRe: What's the difference between dotnet publish -c Release vs -c Debug? Pin
DeltaOrionis2-Aug-22 14:49
DeltaOrionis2-Aug-22 14:49 
QuestionVb.Net and .Net Core 6 Books Pin
crmfghtr14-Jul-22 13:27
crmfghtr14-Jul-22 13:27 
GeneralRe: Vb.Net and .Net Core 6 Books Pin
Richard MacCutchan14-Jul-22 21:13
mveRichard MacCutchan14-Jul-22 21:13 
AnswerRe: Vb.Net and .Net Core 6 Books Pin
Dave Kreskowiak15-Jul-22 8:11
mveDave Kreskowiak15-Jul-22 8:11 
AnswerRe: Vb.Net and .Net Core 6 Books Pin
Consuelo R. Bills3-Aug-22 23:57
Consuelo R. Bills3-Aug-22 23:57 
QuestionHow to use BETWEEN in ASP.NET CORE EF? Pin
Khaled Mohamed Eissa7-Jul-22 3:07
Khaled Mohamed Eissa7-Jul-22 3:07 
AnswerRe: How to use BETWEEN in ASP.NET CORE EF? Pin
Pete O'Hanlon7-Jul-22 3:29
mvePete O'Hanlon7-Jul-22 3:29 
AnswerRe: How to use BETWEEN in ASP.NET CORE EF? Pin
jsc428-Jul-22 1:06
professionaljsc428-Jul-22 1:06 
I'd start by looking at what your SQL is trying to do and simplify it. From what I can see, your WHERE clause can be reduced to
SQL
vYear = 2022
AND EmpCode = 5229
AND NOT VacType IN (10, 15, 16, 17, 18, 19, 20, 21, 23, 24)
AND Result <> 1
AND ('12/07/2022' BETWEEN vStart AND vEnd
    OR CONVERT(DATETIME, '2022-07-13 00:00:00', 102) BETWEEN vStart AND vEnd
    )

I do not understand what the date ranges are for and why there are two different ways of representing dates unless your data has two sets of texts neither as real dates, in which case the comparisons are meaningless.
QuestionAsp.net display numbers from loop on page Pin
KingRoyaltea7-Jun-22 2:24
KingRoyaltea7-Jun-22 2:24 
Rant[REPOST] Asp.net display numbers from loop on page Pin
Richard Deeming7-Jun-22 3:16
mveRichard Deeming7-Jun-22 3:16 
QuestionAsp.net display numbers from loop on page Pin
KingRoyaltea6-Jun-22 4:12
KingRoyaltea6-Jun-22 4:12 
AnswerRe: Asp.net display numbers from loop on page Pin
Richard MacCutchan6-Jun-22 4:21
mveRichard MacCutchan6-Jun-22 4:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.