Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
_Q12_15-Feb-22 1:46
_Q12_15-Feb-22 1:46 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
OriginalGriff15-Feb-22 2:15
mveOriginalGriff15-Feb-22 2:15 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
_Q12_9-Feb-22 23:39
_Q12_9-Feb-22 23:39 
AnswerRe: I can not see inside my phone directory branch when I plug it into my PC Pin
trønderen10-Feb-22 6:25
trønderen10-Feb-22 6:25 
GeneralRe: I can not see inside my phone directory branch when I plug it into my PC Pin
Richard Andrew x6410-Feb-22 9:25
professionalRichard Andrew x6410-Feb-22 9:25 
QuestionIt doesn't seem like resizable forms are inheritable Pin
RobertSF9-Feb-22 10:44
professionalRobertSF9-Feb-22 10:44 
AnswerRe: It doesn't seem like resizable forms are inheritable Pin
Eddy Vluggen9-Feb-22 10:59
professionalEddy Vluggen9-Feb-22 10:59 
GeneralRe: It doesn't seem like resizable forms are inheritable Pin
RobertSF9-Feb-22 11:01
professionalRobertSF9-Feb-22 11:01 
GeneralRe: It doesn't seem like resizable forms are inheritable Pin
Eddy Vluggen9-Feb-22 11:08
professionalEddy Vluggen9-Feb-22 11:08 
AnswerRe: It doesn't seem like resizable forms are inheritable Pin
OriginalGriff9-Feb-22 20:09
mveOriginalGriff9-Feb-22 20:09 
GeneralRe: It doesn't seem like resizable forms are inheritable Pin
RobertSF10-Feb-22 5:25
professionalRobertSF10-Feb-22 5:25 
GeneralRe: It doesn't seem like resizable forms are inheritable Pin
OriginalGriff10-Feb-22 5:34
mveOriginalGriff10-Feb-22 5:34 
General[Solved] Re: It doesn't seem like resizable forms are inheritable Pin
RobertSF10-Feb-22 8:29
professionalRobertSF10-Feb-22 8:29 
GeneralRe: [Solved] Re: It doesn't seem like resizable forms are inheritable Pin
OriginalGriff10-Feb-22 9:01
mveOriginalGriff10-Feb-22 9:01 
GeneralRe: [Solved] Re: It doesn't seem like resizable forms are inheritable Pin
RobertSF12-Feb-22 8:59
professionalRobertSF12-Feb-22 8:59 
GeneralRe: [Solved] Re: It doesn't seem like resizable forms are inheritable Pin
OriginalGriff12-Feb-22 9:12
mveOriginalGriff12-Feb-22 9:12 
QuestionHow to convert sample code (available in java, PHP and python) to C# for creating a bot using mediawiki API? Pin
Pallavi H Shinde9-Feb-22 5:57
Pallavi H Shinde9-Feb-22 5:57 
AnswerRe: How to convert sample code (available in java, PHP and python) to C# for creating a bot using mediawiki API? Pin
Eddy Vluggen9-Feb-22 6:01
professionalEddy Vluggen9-Feb-22 6:01 
GeneralRe: How to convert sample code (available in java, PHP and python) to C# for creating a bot using mediawiki API? Pin
Pallavi H Shinde9-Feb-22 7:09
Pallavi H Shinde9-Feb-22 7:09 
GeneralRe: How to convert sample code (available in java, PHP and python) to C# for creating a bot using mediawiki API? Pin
Eddy Vluggen9-Feb-22 8:03
professionalEddy Vluggen9-Feb-22 8:03 
AnswerRe: How to convert sample code (available in java, PHP and python) to C# for creating a bot using mediawiki API? Pin
Richard Deeming9-Feb-22 23:09
mveRichard Deeming9-Feb-22 23:09 
QuestionAsp.Net Core. Sending requests with Postman Pin
Kamil Kluska5-Feb-22 22:08
Kamil Kluska5-Feb-22 22:08 
I write in Postman this URL for Get method: https://localhost:7033/api/restaurant and I get 404 not found result. I don't know where is the problem. For https://localhostlocalhost:7033 it works, so it must be something wrong with [Route("api/restaurant")]

Here is the Controller code:

[Route("api/restaurant")]
public class RestaurantController : ControllerBase
{
private readonly RestaurantDbContext _dbContext;

public RestaurantController(RestaurantDbContext dbContext)
{
_dbContext = dbContext;
}

[HttpGet]
public ActionResult<ienumerable<restaurant>> GetAll()
{
var restaurants = _dbContext.Restaurants.ToList();

return Ok(restaurants);
}
}

and launchSettings file code:

}
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:8196",
"sslPort": 44311
}
},
"profiles": {
"RestaurantApp": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:7033;http://localhost:5033",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

modified 6-Feb-22 6:56am.

AnswerRe: Asp.Net Core. Sending requests with Postman Pin
Tony Hill6-Feb-22 1:38
professionalTony Hill6-Feb-22 1:38 
QuestionExtend Intellisense Pin
101100102-Feb-22 12:28
101100102-Feb-22 12:28 
AnswerRe: Extend Intellisense Pin
Dave Kreskowiak2-Feb-22 13:16
mveDave Kreskowiak2-Feb-22 13:16 

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.