public static string GetQueryString(this object obj)
{
var properties = from p in obj.GetType().GetProperties()
where p.GetValue(obj, null) != null
select p.Name + "=" + HttpUtility.UrlEncode(p.GetValue(obj, null).ToString());
return String.Join("&", properties.ToArray());
}
Kaydol:
Kayıt Yorumları (Atom)
.net 6 mapget kullanımı
app.UseEndpoints(endpoints => { endpoints.MapGet("/", async context => { var response = JsonConvert.Seriali...
-
var dataProperties = Object.getOwnPropertyNames(responseStart.data); for(let i=0;i<datapProperties.length;i++){ localStorage.setItem(pr...
-
Komut ekranına aşagıdaki komutları yazarak windows service işlemlerini gerçekleştirebiliriz. Not : Komut ekranı (Başlat -> Çalıştır -...
-
relative assets for components, like templateUrl and styleUrls in the @Component decorator. moduleId is used to resolve r...
Hiç yorum yok:
Yorum Gönder