615 Questions

beginer
beginer
296 Points
83 Posts
I have plex shared hosting on Godaddy. I has 200MB space for MS SQL DB. I'm getting error: Could not allocate space for object '...' in database '..' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to ...
Views: 33
Total Answered: 0
Total Marked As Answer: 0
Posted On: 24-Nov-2022 08:43 
 
some one
some one
2 Points
1 Posts
I observed from few days that Microsoft Edge is started importing other browser (chrome) tabs on app launch: In above screen shot we can see tabs from google chrome. Not sure how to disable it. Any one has any idea?
Views: 163
Total Answered: 1
Total Marked As Answer: 1
Posted On: 05-Oct-2022 21:31 
 
beginer
beginer
296 Points
83 Posts
Suppose I have following c# object: public class CustomerDemo { public int CustomerId { get; set; } public string CustomerName { get; set; } public string PhoneNumber { get; set; } public string Email { get; set; } } var customerList = new List<CustomerDemo>(); And ...
Views: 104
Total Answered: 1
Total Marked As Answer: 0
Posted On: 05-Oct-2022 01:01 
 
beginer
beginer
296 Points
83 Posts
I'm trying to generate rss/feed xml response in an ASP.MVC application. What is the best way to return XML from a controller's action in ASP.NET MVC? There is a nice way to return JSON, but not for XML. I need to do something like public class FeedController : Controller { public Act ...
Views: 111
Total Answered: 1
Total Marked As Answer: 0
Posted On: 05-Oct-2022 00:07 
 
Raj
Raj
Member
54 Points
17 Posts
I'm try to execute dynamic query in MySQL and I'm trying following in stored procedure: CREATE PROCEDURE `GetMessagePagination`( IN PageNumber INT(10) , IN PageSize INT(10), IN Sort VARCHAR(30) , INOUT TotalCount INT(10) ) BEGIN SELECT * from messages ORDER BY Sort DESC LIMI ...
Views: 197
Total Answered: 2
Total Marked As Answer: 1
Posted On: 19-Sep-2022 00:16 
 
Raj
Raj
Member
54 Points
17 Posts
I'm trying switch case as follows: switch (strVal1) { case "hello": if(strVal2=="true"){ // do something } break; case "hello": if(strVal2=="false"){ // do something } etc .... } Do ...
Views: 190
Total Answered: 1
Total Marked As Answer: 1
Posted On: 14-Sep-2022 02:25 
 
Stevan
Stevan
66 Points
28 Posts
We have circleci as ci/cd and integrated sonar-qube but dashboard is showing code coverage 0 and tests 0%. .yml file code: - run: name: SonarQube command: | export PATH="$PATH:/root/.dotnet/tools" dotnet tool install --global dotnet-sonarscanner ...
Views: 227
Total Answered: 2
Total Marked As Answer: 0
Posted On: 01-Sep-2022 01:24 
 
Raj
Raj
Member
54 Points
17 Posts
I'm trying to check if a key exists in a given bucket in c#. I looked at the API but there aren't any methods that are useful. I tried to use getObject but it threw an exception. Is there a way to so?
Views: 511
Total Answered: 1
Total Marked As Answer: 1
Posted On: 01-Aug-2022 23:07 
 
Raj
Raj
Member
54 Points
17 Posts
I'm trying following query: db.getCollection('permission').aggregate([ { $match: { "accountId": "my-account" } }, { $group: { _id: "$accountId", "totalCount": { $sum: 1 } } } ]) It's showing total account wise but I want total count of all document in permission.
Views: 266
Total Answered: 1
Total Marked As Answer: 1
Posted On: 03-Jun-2022 02:51 
 
Priya
Priya
Member
224 Points
52 Posts
I'm trying following query: var modifiedOrders = await _applicationUnitOfWork.OrderRepository.Find(a => a.createdDate!= null && a.lastUpdated != (a.createdDate ?? DateTime.UtcNow)).SortBy(x => x.createdDate).ToListAsync(); But getting following error: EXCEPTION: Unsupported filt ...
Views: 580
Total Answered: 1
Total Marked As Answer: 1
Posted On: 26-May-2022 20:44 
 
 Log In to Chat