¡@

Home 

c# Programming Glossary: category

Recommended ServiceStack API Structure

http://stackoverflow.com/questions/15231537/recommended-servicestack-api-structure

do something like Route events GET Route events category Category GET Optional top level views public class Events Optional resultset.. views public class Events Optional resultset filters e.g. Category Tech Search servicestack public string Category get set public.. e.g. Category Tech Search servicestack public string Category get set public string Search get set Route events POST public..

ServiceStack Request DTO design

http://stackoverflow.com/questions/15927475/servicestack-request-dto-design

return product public IEnumerable Product GetProductsByCategory string category return products.Where p string.Equals p.Category.. string category return products.Where p string.Equals p.Category category StringComparison.OrdinalIgnoreCase public IEnumerable.. class FindProducts IReturn List Product public string Category get set public decimal PriceGreaterThan get set public class..

Read/Write 'Extended' file properties (C#)

http://stackoverflow.com/questions/220097/read-write-extended-file-properties-c

file properties in C# e.g. Comment Bit Rate Date Accessed Category etc that you can see in Windows explorer. Any ideas how to do..

Can't get sql server compact 3.5 / 4 to work with ASP .NET MVC 2

http://stackoverflow.com/questions/3223359/cant-get-sql-server-compact-3-5-4-to-work-with-asp-net-mvc-2

using SqlCeCommand cmd new SqlCeCommand SELECT TOP 1 Category Name FROM Categories conn string valueFromDb string cmd.ExecuteScalar..

LEFT OUTER JOIN in LINQ

http://stackoverflow.com/questions/3404975/left-outer-join-in-linq

q from c in categories join p in products on c equals p.Category into ps from p in ps.DefaultIfEmpty select new Category c ProductName.. p.Category into ps from p in ps.DefaultIfEmpty select new Category c ProductName p null No products p.ProductName share improve..

Reading csv file

http://stackoverflow.com/questions/3507498/reading-csv-file

row 1 Description row 2 Amount decimal.Parse row 3 Category Category Enum.Parse typeof Category row 4 but its very difficult.. 1 Description row 2 Amount decimal.Parse row 3 Category Category Enum.Parse typeof Category row 4 but its very difficult to.. decimal.Parse row 3 Category Category Enum.Parse typeof Category row 4 but its very difficult to operate on arrays in this case...

Are string.Equals() and == operator really same? [duplicate]

http://stackoverflow.com/questions/3678792/are-string-equals-and-operator-really-same

this problem. Here is the dump from the Immediate Window s Category tvi.Header Category s tvi.Header false s.Equals tvi.Header true.. the dump from the Immediate Window s Category tvi.Header Category s tvi.Header false s.Equals tvi.Header true s tvi.Header.ToString.. tvi.Header.ToString true So both s and tvi.Header contain Category but returns false and Equals returns true. s is defined as string..

Calculating Bandwidth

http://stackoverflow.com/questions/442409/calculating-bandwidth

new PerformanceCounter bytesSentPerformanceCounter.CategoryName .NET CLR Networking bytesSentPerformanceCounter.CounterName.. Instance 'XXX' does not exist in the specified Category and that you need to insert configuration system.net settings..

Change Attribute's parameter at runtime

http://stackoverflow.com/questions/51269/change-attributes-parameter-at-runtime

assembly I have the following class public class UserInfo Category change me public int Age get set Category change me public.. class UserInfo Category change me public int Age get set Category change me public string Name get set This is a class that..

Unique key with EF code first

http://stackoverflow.com/questions/5701608/unique-key-with-ef-code-first

first I have a following model in my project public class Category public Guid ID get set Required ErrorMessage Title cannot be.. context.Database.ExecuteSqlCommand CREATE UNIQUE INDEX IX_Category_Title ON Categories Title And you must set this initializer..

Compare nullable types in Linq to Sql

http://stackoverflow.com/questions/586097/compare-nullable-types-in-linq-to-sql

nullable types in Linq to Sql I have a Category entity which has a Nullable ParentId field. When the method.. the problem in here what am I missing public IEnumerable ICategory GetSubCategories long categoryId var subCategories this.Repository.Categories.Where.. c c.ParentId categoryId .ToList .Cast ICategory return subCategories By the way when I change the condition..

MVC Razor view nested foreach's model

http://stackoverflow.com/questions/8894442/mvc-razor-view-nested-foreachs-model

on mine.... But this is the scenario Theme contains List Category contains List Product contains List My Controller provides a..

Recommended ServiceStack API Structure

http://stackoverflow.com/questions/15231537/recommended-servicestack-api-structure

I would do something like Route events GET Route events category Category GET Optional top level views public class Events Optional..

ServiceStack Request DTO design

http://stackoverflow.com/questions/15927475/servicestack-request-dto-design

return product public Product GetProductByName string categoryName var product products.FirstOrDefault p p.Name categoryName.. categoryName var product products.FirstOrDefault p p.Name categoryName if product null throw new HttpResponseException HttpStatusCode.NotFound.. public IEnumerable Product GetProductsByCategory string category return products.Where p string.Equals p.Category category StringComparison.OrdinalIgnoreCase..

Method Overloading. Can you overuse it?

http://stackoverflow.com/questions/248222/method-overloading-can-you-overuse-it

a List public List Product GetProductByCategory Category category return a List public List Product GetProductByName string Name.. of all products public List Product GetProducts Category category return a List by Category public List Product GetProducts string.. ... public IList Product GetProductByCategory Category category ... public IList Product GetProductByName string Name ... Having..

How to determine total size of ASP.Net cache?

http://stackoverflow.com/questions/344210/how-to-determine-total-size-of-asp-net-cache

performance monitor and under the ASP.NET Apps v2.0.50727 category I have the following cache related counters Cache Machine Memory.. are also a lot of other cache related metrics under this category. These should be able to get you the percentage then if you..

Change Attribute's parameter at runtime

http://stackoverflow.com/questions/51269/change-attributes-parameter-at-runtime

are not accurate and I want to change the change me category name to something else when i bind an instance of the above..

ebay api - returning auctions ending later than 10 days

http://stackoverflow.com/questions/6929259/ebay-api-returning-auctions-ending-later-than-10-days

APPNAME AlexGo hiddin 821eee8 RESPONSE DATA FORMAT XML categoryId 307 paginationInput.entriesPerPage 100 paginationInput.pageNumber.. APPNAME ENTER APP ID HERE RESPONSE DATA FORMAT XML categoryId 307 paginationInput.entriesPerPage 100 paginationInput.pageNumber.. APPNAME ENTER APP ID HERE RESPONSE DATA FORMAT XML categoryId 307 paginationInput.entriesPerPage 100 paginationInput.pageNumber..

MVC3 Unobtrusive Validation Not Working after Ajax Call

http://stackoverflow.com/questions/7048726/mvc3-unobtrusive-validation-not-working-after-ajax-call

.datepicker dateFormat 'm d yy' onSelect function date #categoryContainer .show fadeDelay '#Category' .change function RetrieveItemsForCategory.. function RetrieveItemsForCategory var category #Category selected .val .ajax type POST url '@Url.Action.. BatchWorkflow ' data 'category ' category success function result #itemContainer .html result.toString..

Should C# methods that *can* be static be static? [closed]

http://stackoverflow.com/questions/731763/should-c-sharp-methods-that-can-be-static-be-static

interchangeably. If you have a method that is in the first category can be static and you need to change it to access class state..

MVC Razor view nested foreach's model

http://stackoverflow.com/questions/8894442/mvc-razor-view-nested-foreachs-model

@Html.LabelFor Model.Theme.name @foreach var category in Model.Theme @Html.LabelFor category.name @foreach var product.. @foreach var category in Model.Theme @Html.LabelFor category.name @foreach var product in theme.Products @Html.LabelFor product.name..